@jieyin/editor-sdk-test 1.1.145 → 1.1.147

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.
@@ -1,12 +1,12 @@
1
1
  var F0 = /* @__PURE__ */ ((r) => (r[r.Group = 0] = "Group", r[r.Layer = 1] = "Layer", r))(F0 || {});
2
2
  function Ge(r) {
3
- let h = r;
3
+ let v = r;
4
4
  return () => {
5
- const t = h;
6
- return h += 1, t;
5
+ const t = v;
6
+ return v += 1, t;
7
7
  };
8
8
  }
9
- function Ke(r, h) {
9
+ function Ke(r, v) {
10
10
  return {
11
11
  name: r.name || "",
12
12
  type: r.type || "Layer",
@@ -23,24 +23,24 @@ function Ke(r, h) {
23
23
  quiltSliceY: r.quiltSliceY,
24
24
  layerOrder: r.layerOrder,
25
25
  imagePath: r.imagePath,
26
- vectorMask: r.vectorMask ?? h,
26
+ vectorMask: r.vectorMask ?? v,
27
27
  filterList: r.filterList,
28
28
  opacity: r.opacity,
29
29
  clipping: r.clipping
30
30
  };
31
31
  }
32
- function Xe(r, h, t, e) {
33
- let d = r.name || "", v = h[d], b = v?.partId ?? (r.type === "Group" ? t.get(d) : void 0);
34
- if (r.type === "Group" && b === void 0 && (!v || v.id === void 0) && r.children && r.children.length === 1) {
35
- const x = r.children[0].name, n = h[x], E = n?.partId ?? t.get(x);
36
- (E !== void 0 || n?.id !== void 0) && (d = x, v = n, b = E);
32
+ function Xe(r, v, t, e) {
33
+ let u = r.name || "", p = v[u], m = p?.partId ?? (r.type === "Group" ? t.get(u) : void 0);
34
+ if (r.type === "Group" && m === void 0 && (!p || p.id === void 0) && r.children && r.children.length === 1) {
35
+ const x = r.children[0].name, n = v[x], E = n?.partId ?? t.get(x);
36
+ (E !== void 0 || n?.id !== void 0) && (u = x, p = n, m = E);
37
37
  }
38
- const B = r.id ?? v?.id ?? e();
38
+ const B = r.id ?? p?.id ?? e();
39
39
  if (r.type === "Group")
40
40
  return {
41
41
  id: B,
42
- partId: b,
43
- name: d,
42
+ partId: m,
43
+ name: u,
44
44
  blendMode: r.blendMode || "normal",
45
45
  bounds: r.bounds || { left: 0, top: 0, width: 0, height: 0 },
46
46
  type: F0.Group,
@@ -51,7 +51,7 @@ function Xe(r, h, t, e) {
51
51
  clipping: r.clipping,
52
52
  layerOrder: r.layerOrder
53
53
  };
54
- let C = v?.url;
54
+ let C = p?.url;
55
55
  return !C && r.imagePath && (C = r.imagePath), {
56
56
  id: B,
57
57
  name: r.name || "",
@@ -64,37 +64,37 @@ function Xe(r, h, t, e) {
64
64
  layerOrder: r.layerOrder
65
65
  };
66
66
  }
67
- function Ye(r, h) {
68
- const t = new Map(h.parts.map((d) => [d.name, d.id])), e = Ge(h.defaultIdStart ?? 1);
67
+ function Ye(r, v) {
68
+ const t = new Map(v.parts.map((u) => [u.name, u.id])), e = Ge(v.defaultIdStart ?? 1);
69
69
  return {
70
- parts: h.parts,
71
- models: r.map((d) => {
72
- const v = d.layerExtrasByName ?? {}, b = d.psdJson, B = b.layerList || b.layerList || [], C = b.canvasWidth, x = b.canvasHeight;
70
+ parts: v.parts,
71
+ models: r.map((u) => {
72
+ const p = u.layerExtrasByName ?? {}, m = u.psdJson, B = m.layerList || m.layerList || [], C = m.canvasWidth, x = m.canvasHeight;
73
73
  if (!C || !x)
74
74
  throw new Error(`无法获取 PSD 画布尺寸: canvasWidth=${C}, canvasHeight=${x}。请确保 jsonurl 中的 canvasWidth 和 canvasHeight 存在`);
75
75
  const n = (s) => {
76
76
  const f = [];
77
- for (const p of s)
78
- if (p.type === "Group" && p.children) {
79
- const l = [], D = [], i = [...p.children].sort((o, u) => {
80
- const m = o.layerOrder ?? 0, g = u.layerOrder ?? 0;
81
- return m - g;
77
+ for (const h of s)
78
+ if (h.type === "Group" && h.children) {
79
+ const l = [], g = [], i = [...h.children].sort((o, d) => {
80
+ const b = o.layerOrder ?? 0, D = d.layerOrder ?? 0;
81
+ return b - D;
82
82
  });
83
83
  for (const o of i)
84
- o.isSmartObject === !0 ? l.push(o) : D.push(o);
85
- if (D.length > 0) {
86
- const o = n(D);
84
+ o.isSmartObject === !0 ? l.push(o) : g.push(o);
85
+ if (g.length > 0) {
86
+ const o = n(g);
87
87
  f.push(...o);
88
88
  }
89
89
  l.length > 0 && f.push({
90
- ...p,
90
+ ...h,
91
91
  children: l
92
92
  });
93
93
  } else
94
- f.push(p);
94
+ f.push(h);
95
95
  return f;
96
96
  }, a = n(B).map(
97
- (s) => Xe(s, v, t, e)
97
+ (s) => Xe(s, p, t, e)
98
98
  );
99
99
  return {
100
100
  width: C,
@@ -110,44 +110,44 @@ function Ze(r) {
110
110
  function Qe(r) {
111
111
  return r ? r.type === "bezier" ? {
112
112
  type: "bezier",
113
- paths: r.paths.map((h) => ({
114
- open: !!h.open,
115
- knots: h.knots.map((t) => ({
113
+ paths: r.paths.map((v) => ({
114
+ open: !!v.open,
115
+ knots: v.knots.map((t) => ({
116
116
  linked: !!t.linked,
117
117
  points: Array.isArray(t.points) ? [...t.points] : []
118
118
  }))
119
119
  }))
120
120
  } : r.type === "simple" ? {
121
121
  type: "simple",
122
- points: r.points.map((h) => ({
123
- x: h.x,
124
- y: h.y,
125
- type: h.type
122
+ points: r.points.map((v) => ({
123
+ x: v.x,
124
+ y: v.y,
125
+ type: v.type
126
126
  }))
127
127
  } : null : null;
128
128
  }
129
- function lr(r, h) {
130
- if (h) {
131
- if (r.globalCompositeOperation = "destination-in", r.beginPath(), h.type === "bezier" && Array.isArray(h.paths))
132
- h.paths.forEach((t) => {
129
+ function dr(r, v) {
130
+ if (v) {
131
+ if (r.globalCompositeOperation = "destination-in", r.beginPath(), v.type === "bezier" && Array.isArray(v.paths))
132
+ v.paths.forEach((t) => {
133
133
  const e = t.knots;
134
134
  if (!e || e.length < 2) return;
135
- const d = e[0];
136
- r.moveTo(d.points[2], d.points[3]);
137
- for (let v = 0; v < e.length; v++) {
138
- const b = e[v];
139
- let B = (v + 1) % e.length;
140
- if (!t.open && v === e.length - 1)
135
+ const u = e[0];
136
+ r.moveTo(u.points[2], u.points[3]);
137
+ for (let p = 0; p < e.length; p++) {
138
+ const m = e[p];
139
+ let B = (p + 1) % e.length;
140
+ if (!t.open && p === e.length - 1)
141
141
  B = 0;
142
- else if (t.open && v === e.length - 1)
142
+ else if (t.open && p === e.length - 1)
143
143
  break;
144
- const C = e[B], x = b.points[4], n = b.points[5], E = C.points[0], a = C.points[1], s = C.points[2], f = C.points[3];
144
+ const C = e[B], x = m.points[4], n = m.points[5], E = C.points[0], a = C.points[1], s = C.points[2], f = C.points[3];
145
145
  r.bezierCurveTo(x, n, E, a, s, f);
146
146
  }
147
147
  t.open || r.closePath();
148
148
  });
149
- else if (h.type === "simple" && Array.isArray(h.points)) {
150
- const t = h.points;
149
+ else if (v.type === "simple" && Array.isArray(v.points)) {
150
+ const t = v.points;
151
151
  if (t.length < 3) return;
152
152
  r.moveTo(t[0].x, t[0].y);
153
153
  for (let e = 1; e < t.length; e++) r.lineTo(t[e].x, t[e].y);
@@ -161,10 +161,10 @@ class h0 {
161
161
  /**
162
162
  * 获取存储项
163
163
  */
164
- static getItem(h) {
164
+ static getItem(v) {
165
165
  if (!this.hasStorage) return null;
166
166
  try {
167
- return localStorage.getItem(h);
167
+ return localStorage.getItem(v);
168
168
  } catch {
169
169
  return null;
170
170
  }
@@ -172,10 +172,10 @@ class h0 {
172
172
  /**
173
173
  * 设置存储项
174
174
  */
175
- static setItem(h, t) {
175
+ static setItem(v, t) {
176
176
  if (!this.hasStorage) return !1;
177
177
  try {
178
- return localStorage.setItem(h, t), !0;
178
+ return localStorage.setItem(v, t), !0;
179
179
  } catch {
180
180
  return !1;
181
181
  }
@@ -183,10 +183,10 @@ class h0 {
183
183
  /**
184
184
  * 移除存储项
185
185
  */
186
- static removeItem(h) {
186
+ static removeItem(v) {
187
187
  if (!this.hasStorage) return !1;
188
188
  try {
189
- return localStorage.removeItem(h), !0;
189
+ return localStorage.removeItem(v), !0;
190
190
  } catch {
191
191
  return !1;
192
192
  }
@@ -209,7 +209,7 @@ class h0 {
209
209
  return this.hasStorage;
210
210
  }
211
211
  }
212
- class fr {
212
+ class cr {
213
213
  /**
214
214
  * 是否在浏览器环境
215
215
  */
@@ -251,10 +251,10 @@ class l0 {
251
251
  /**
252
252
  * 安全地解析 URL
253
253
  */
254
- static parse(h) {
254
+ static parse(v) {
255
255
  try {
256
- const t = fr.getOrigin();
257
- return new URL(h, t);
256
+ const t = cr.getOrigin();
257
+ return new URL(v, t);
258
258
  } catch {
259
259
  return null;
260
260
  }
@@ -262,235 +262,230 @@ class l0 {
262
262
  /**
263
263
  * 添加查询参数
264
264
  */
265
- static addParam(h, t, e) {
266
- const d = this.parse(h);
267
- return !d || d.searchParams.has(t) ? h : (d.searchParams.set(t, e), this.formatUrl(h, d));
265
+ static addParam(v, t, e) {
266
+ const u = this.parse(v);
267
+ return !u || u.searchParams.has(t) ? v : (u.searchParams.set(t, e), this.formatUrl(v, u));
268
268
  }
269
269
  /**
270
270
  * 移除查询参数
271
271
  */
272
- static removeParam(h, t) {
273
- const e = this.parse(h);
274
- return !e || !e.searchParams.has(t) ? h : (e.searchParams.delete(t), this.formatUrl(h, e));
272
+ static removeParam(v, t) {
273
+ const e = this.parse(v);
274
+ return !e || !e.searchParams.has(t) ? v : (e.searchParams.delete(t), this.formatUrl(v, e));
275
275
  }
276
276
  /**
277
277
  * 检查是否有指定参数
278
278
  */
279
- static hasParam(h, t) {
280
- return this.parse(h)?.searchParams.has(t) ?? !1;
279
+ static hasParam(v, t) {
280
+ return this.parse(v)?.searchParams.has(t) ?? !1;
281
281
  }
282
282
  /**
283
283
  * 格式化 URL(保持原始格式)
284
284
  */
285
- static formatUrl(h, t) {
286
- const e = /^(https?:)?\/\//i.test(h), d = h.startsWith("//");
287
- return e ? t.toString() : d ? t.toString().replace(/^https?:/, "") : `${t.pathname}${t.search}${t.hash}`;
285
+ static formatUrl(v, t) {
286
+ const e = /^(https?:)?\/\//i.test(v), u = v.startsWith("//");
287
+ return e ? t.toString() : u ? t.toString().replace(/^https?:/, "") : `${t.pathname}${t.search}${t.hash}`;
288
288
  }
289
289
  /**
290
290
  * 检查是否为数据 URL
291
291
  */
292
- static isDataUrl(h) {
293
- return h?.startsWith("data:") ?? !1;
292
+ static isDataUrl(v) {
293
+ return v?.startsWith("data:") ?? !1;
294
294
  }
295
295
  /**
296
296
  * 检查是否为 Blob URL
297
297
  */
298
- static isBlobUrl(h) {
299
- return h?.startsWith("blob:") ?? !1;
298
+ static isBlobUrl(v) {
299
+ return v?.startsWith("blob:") ?? !1;
300
300
  }
301
301
  }
302
- const t0 = cr;
303
- (function(r, h) {
304
- const t = cr, e = r();
302
+ const t0 = Cr;
303
+ (function(r, v) {
304
+ const t = Cr, e = r();
305
305
  for (; ; )
306
306
  try {
307
- if (parseInt(t(309)) / 1 * (-parseInt(t(327)) / 2) + parseInt(t(319)) / 3 + parseInt(t(336)) / 4 * (-parseInt(t(339)) / 5) + -parseInt(t(322)) / 6 * (-parseInt(t(314)) / 7) + parseInt(t(321)) / 8 + -parseInt(t(325)) / 9 + parseInt(t(310)) / 10 === h) break;
307
+ if (-parseInt(t(413)) / 1 + parseInt(t(405)) / 2 + -parseInt(t(415)) / 3 * (-parseInt(t(406)) / 4) + -parseInt(t(419)) / 5 * (parseInt(t(396)) / 6) + parseInt(t(411)) / 7 * (parseInt(t(408)) / 8) + parseInt(t(414)) / 9 + -parseInt(t(403)) / 10 === v) break;
308
308
  e.push(e.shift());
309
309
  } catch {
310
310
  e.push(e.shift());
311
311
  }
312
- })(sr, -105317 * -1 + 10 * 12239 + 264421);
312
+ })(sr, 908722 + 41 * -11551 + 50475);
313
313
  const E0 = /* @__PURE__ */ (function() {
314
314
  let r = !0;
315
- return function(h, t) {
315
+ return function(v, t) {
316
316
  const e = r ? function() {
317
317
  if (t) {
318
- const d = t.apply(h, arguments);
319
- return t = null, d;
318
+ const u = t.apply(v, arguments);
319
+ return t = null, u;
320
320
  }
321
321
  } : function() {
322
322
  };
323
323
  return r = !1, e;
324
324
  };
325
325
  })(), Ve = E0(void 0, function() {
326
- const r = cr, h = function() {
327
- const v = cr;
328
- let b;
329
- try {
330
- b = Function("return (functio" + v(328) + ("{}.co" + v(334) + 'ctor("return this")( )') + ");")();
331
- } catch {
332
- b = window;
333
- }
334
- return b;
335
- }, t = h(), e = t.console = t.console || {}, d = ["log", "warn", "info", "error", "exception", r(337), "trace"];
336
- for (let v = -1409 + 1409 * 1; v < d[r(320) + "h"]; v++) {
337
- const b = E0[r(330) + "ructor"].prototype.bind(E0), B = d[v], C = e[B] || b;
338
- b.__proto__ = E0.bind(E0), b.toString = C.toString.bind(C), e[B] = b;
326
+ const r = Cr;
327
+ let v;
328
+ try {
329
+ v = Function("retur" + r(417) + 'nction() {}.constructor("return this")( ));')();
330
+ } catch {
331
+ v = window;
332
+ }
333
+ const t = v.console = v.console || {}, e = ["log", "warn", "info", "error", "exception", "table", "trace"];
334
+ for (let u = 8838 + -2 * 4478 + 118; u < e.length; u++) {
335
+ const p = E0.constructor.prototype.bind(E0), m = e[u], B = t[m] || p;
336
+ p[r(418) + "to__"] = E0.bind(E0), p[r(407) + "ing"] = B.toString.bind(B), t[m] = p;
339
337
  }
340
338
  });
341
339
  Ve();
342
- const Br = "file_token", Cr = t0(326) + "token_expire_time", Je = (7361 + -2243 * -1 + -9544) * (3978 + -3316 * -2 + -1922 * 5);
343
- function vr() {
344
- return h0.getItem(Br);
340
+ function sr() {
341
+ const r = ["fileT", "aUrl", "fetch", "2989866dBbkVE", "token", "ram", "file_", "remov", "isBlo", "data", "1317170HveWSk", "isBro", "1478810LnjKTb", "108xQzOMY", "toStr", "176nuWXiH", "setIt", "oken", "168217mEuFFb", "ePara", "409296rdHHJJ", "1947816rEiblX", "4491IqqhGU", "pathn", "n (fu", "__pro", "5nDUver", "FileT"];
342
+ return sr = function() {
343
+ return r;
344
+ }, sr();
345
+ }
346
+ const pr = "file_token", Br = t0(399) + t0(397) + "_expire_time", Je = (-2513 + 3382 * -2 + 9337) * 1e3;
347
+ function hr() {
348
+ return h0.getItem(pr);
345
349
  }
346
350
  function rt(r = Je) {
347
- if (!vr()) return !0;
348
- const t = h0.getItem(Cr);
351
+ if (!hr()) return !0;
352
+ const t = h0.getItem(Br);
349
353
  if (!t) return !1;
350
354
  const e = Number(t);
351
355
  return Date.now() + r > e;
352
356
  }
353
- function et(r, h) {
354
- const t = t0;
355
- if (h0[t(317) + "em"](Br, r), typeof h == t(338) + "r" && h > -5061 + 3 * -3194 + 14643) {
356
- const e = Date.now() + h * 1e3;
357
- h0.setItem(Cr, String(e));
357
+ function et(r, v) {
358
+ if (h0[t0(409) + "em"](pr, r), typeof v == "number" && v > 6289 + -19 * 331) {
359
+ const e = Date.now() + v * 1e3;
360
+ h0.setItem(Br, String(e));
358
361
  }
359
362
  }
360
363
  function tt() {
361
- const r = t0;
362
- h0["remov" + r(332)](Br), h0[r(316) + "eItem"](Cr);
363
- }
364
- function sr() {
365
- const r = ["n() ", "token", "const", "bUrl", "eItem", "code", "nstru", "fileT", "604wFrQmc", "table", "numbe", "1130hWUtTl", "pathn", "FileT", "isBro", "1OStBHO", "2821500gaQTEK", "statu", "inclu", "ePara", "84ASFoFX", "data", "remov", "setIt", "oken", "1305540XNzsTe", "lengt", "1926528KfMJEm", "353406sBgUgG", "fetch", "des", "3827907NiBlWm", "file_", "1426762MiKEpY"];
366
- return sr = function() {
367
- return r;
368
- }, sr();
364
+ h0.removeItem(pr), h0.removeItem(Br);
369
365
  }
370
366
  async function Pr(r) {
371
- const h = t0, t = await r(), e = t?.[h(315)]?.data;
372
- return t?.[h(315)]?.[h(333)] === 200 && e?.[h(326) + "token"] ? (et(e["file_" + h(329)], e.expires_in), e[h(326) + "token"]) : null;
367
+ const v = t0, t = await r(), e = t?.data?.data;
368
+ return t?.[v(402)]?.code === 8949 + -673 * 13 && e?.["file_token"] ? (et(e.file_token, e.expires_in), e.file_token) : null;
373
369
  }
374
370
  let xt = null;
375
371
  function Wr() {
376
- return fr.isBrowser() ? xt : null;
372
+ return cr.isBrowser() ? xt : null;
373
+ }
374
+ function Cr(r, v) {
375
+ return r = r - (7085 + -3 * 3257 + 3082), sr()[r];
377
376
  }
378
- async function ge() {
377
+ async function De() {
379
378
  const r = t0;
380
- if (!fr[r(308) + "wser"]()) return vr();
381
- const h = vr();
382
- if (h && !rt()) return h;
379
+ if (!cr.isBrowser()) return hr();
380
+ const v = hr();
381
+ if (v && !rt()) return v;
383
382
  try {
384
383
  const t = await Wr();
385
- if (h && t?.[r(323) + "FileTokenRefresh"]) {
386
- const e = await Pr(t.fetchFileTokenRefresh);
384
+ if (v && t?.[r(423) + r(420) + "okenRefresh"]) {
385
+ const e = await Pr(t[r(423) + r(420) + "okenRefresh"]);
387
386
  if (e) return e;
388
387
  }
389
388
  } catch {
390
389
  }
391
390
  try {
392
391
  const t = Wr();
393
- return t?.["fetch" + r(307) + "oken"] ? await Pr(t[r(323) + "FileToken"]) : null;
392
+ return t?.["fetch" + r(420) + "oken"] ? await Pr(t[r(423) + r(420) + r(410)]) : null;
394
393
  } catch {
395
394
  return null;
396
395
  }
397
396
  }
398
- function cr(r, h) {
399
- return r = r - (-7 * -915 + -7342 + 622 * 2), sr()[r];
400
- }
401
- function De(r) {
402
- const h = t0;
403
- if (!r || l0.isDataUrl(r) || l0["isBlo" + h(331)](r)) return !1;
397
+ function ge(r) {
398
+ const v = t0;
399
+ if (!r || l0["isDat" + v(422)](r) || l0[v(401) + "bUrl"](r)) return !1;
404
400
  const t = l0.parse(r);
405
- return t ? t[h(340) + "ame"].includes("/files/") && !l0.hasParam(r, "fileT" + h(318)) : r["inclu" + h(324)]("/files/") && !r[h(312) + "des"](h(335) + "oken=");
401
+ return t ? t[v(416) + "ame"].includes("/files/") && !l0["hasPa" + v(398)](r, v(421) + "oken") : r.includes("/files/") && !r.includes("fileToken=");
406
402
  }
407
- function me(r, h) {
403
+ function be(r, v) {
408
404
  const t = t0;
409
- return !h || !De(r) ? r : l0.addParam(r, t(335) + "oken", h);
405
+ return !v || !ge(r) ? r : l0.addParam(r, t(421) + "oken", v);
410
406
  }
411
407
  function nt(r) {
412
- const h = t0;
413
- return l0["remov" + h(313) + "m"](r, "fileT" + h(318));
408
+ const v = t0;
409
+ return l0[v(400) + v(412) + "m"](r, "fileToken");
414
410
  }
415
411
  async function at(r) {
416
- if (!De(r)) return r;
417
- const h = await ge();
418
- return me(r, h);
412
+ if (!ge(r)) return r;
413
+ const v = await De();
414
+ return be(r, v);
419
415
  }
420
- async function be(r, h) {
421
- const t = t0;
422
- if (!fr.isBrowser()) return fetch(r, h);
423
- const e = nt(r), d = await at(e), v = await fetch(d, h);
424
- if (v[t(311) + "s"] !== -1 * 1163 + -2675 + -1413 * -3) return v;
416
+ async function me(r, v) {
417
+ if (!cr[t0(404) + "wser"]()) return fetch(r, v);
418
+ const e = nt(r), u = await at(e), p = await fetch(u, v);
419
+ if (p.status !== 401) return p;
425
420
  tt();
426
- const b = await ge(), B = me(e, b);
427
- return fetch(B, h);
421
+ const m = await De(), B = be(e, m);
422
+ return fetch(B, v);
428
423
  }
429
- const _e = (r, h) => {
424
+ const _e = (r, v) => {
430
425
  if (!r) return r;
431
- const t = (h || "").replace(/\/$/, "");
426
+ const t = (v || "").replace(/\/$/, "");
432
427
  if (t && r.startsWith(t))
433
428
  return r;
434
429
  if (typeof window < "u") {
435
- const d = window.location.hostname;
436
- if (d === "localhost" || d === "127.0.0.1")
430
+ const u = window.location.hostname;
431
+ if (u === "localhost" || u === "127.0.0.1")
437
432
  try {
438
- const v = new URL(r);
433
+ const p = new URL(r);
439
434
  if (t)
440
435
  try {
441
- const b = new URL(t).origin;
442
- if (v.origin === b)
436
+ const m = new URL(t).origin;
437
+ if (p.origin === m)
443
438
  return r;
444
439
  } catch {
445
440
  }
446
- if (v.pathname.startsWith("/files/"))
447
- return t ? `${t}${v.pathname}${v.search}${v.hash}` : `${v.pathname}${v.search}${v.hash}`;
441
+ if (p.pathname.startsWith("/files/"))
442
+ return t ? `${t}${p.pathname}${p.search}${p.hash}` : `${p.pathname}${p.search}${p.hash}`;
448
443
  } catch {
449
444
  }
450
445
  }
451
446
  if (typeof window < "u" && window.location.hostname !== "localhost") return r;
452
447
  const e = r.match(/^https?:\/\/([^/]+\.oss[^/]*\.aliyuncs\.com)(.*)$/);
453
448
  return e ? `/oss${e[2]}` : r;
454
- }, ot = (r, h) => {
449
+ }, ot = (r, v) => {
455
450
  if (typeof OffscreenCanvas < "u" && typeof document > "u")
456
- return new OffscreenCanvas(r, h);
451
+ return new OffscreenCanvas(r, v);
457
452
  const t = document.createElement("canvas");
458
- return t.width = r, t.height = h, t;
459
- }, b0 = async (r, h) => {
460
- if (!h || h <= 0) return r;
453
+ return t.width = r, t.height = v, t;
454
+ }, m0 = async (r, v) => {
455
+ if (!v || v <= 0) return r;
461
456
  const t = Math.max(r.width, r.height);
462
- if (t <= h) return r;
463
- const e = h / t, d = Math.max(1, Math.round(r.width * e)), v = Math.max(1, Math.round(r.height * e)), b = ot(d, v), B = b.getContext("2d");
464
- return B ? (B.drawImage(r, 0, 0, d, v), r.close?.(), await createImageBitmap(b)) : r;
457
+ if (t <= v) return r;
458
+ const e = v / t, u = Math.max(1, Math.round(r.width * e)), p = Math.max(1, Math.round(r.height * e)), m = ot(u, p), B = m.getContext("2d");
459
+ return B ? (B.drawImage(r, 0, 0, u, p), r.close?.(), await createImageBitmap(m)) : r;
465
460
  };
466
- async function it(r, h, t) {
461
+ async function it(r, v, t) {
467
462
  if (typeof r == "string")
468
463
  try {
469
- const e = _e(r, t), d = await be(e);
470
- if (!d.ok) {
471
- const b = d.status === 404 ? `图片不存在 (404): ${r}` : `加载图片失败 (${d.status} ${d.statusText}): ${r}`;
472
- throw new Error(b);
464
+ const e = _e(r, t), u = await me(e);
465
+ if (!u.ok) {
466
+ const m = u.status === 404 ? `图片不存在 (404): ${r}` : `加载图片失败 (${u.status} ${u.statusText}): ${r}`;
467
+ throw new Error(m);
473
468
  }
474
- const v = await d.blob();
475
- if (!v.type.startsWith("image/") && v.size === 0)
469
+ const p = await u.blob();
470
+ if (!p.type.startsWith("image/") && p.size === 0)
476
471
  throw new Error(`图片数据无效: URL=${r}`);
477
472
  try {
478
- const b = await createImageBitmap(v);
479
- return await b0(b, h);
480
- } catch (b) {
481
- throw new Error(`图片解码失败: URL=${r}, 错误=${b instanceof Error ? b.message : b}`);
473
+ const m = await createImageBitmap(p);
474
+ return await m0(m, v);
475
+ } catch (m) {
476
+ throw new Error(`图片解码失败: URL=${r}, 错误=${m instanceof Error ? m.message : m}`);
482
477
  }
483
478
  } catch (e) {
484
479
  throw e instanceof Error ? e : new Error(`加载图片失败: ${r}, ${e}`);
485
480
  }
486
481
  if (r instanceof HTMLImageElement) {
487
- if ((!r.complete || r.naturalWidth === 0) && await new Promise((e, d) => {
488
- r.onload = e, r.onerror = () => d(new Error(`图片加载失败: src=${r.src}`)), r.complete && e(null);
482
+ if ((!r.complete || r.naturalWidth === 0) && await new Promise((e, u) => {
483
+ r.onload = e, r.onerror = () => u(new Error(`图片加载失败: src=${r.src}`)), r.complete && e(null);
489
484
  }), r.naturalWidth === 0 || r.naturalHeight === 0)
490
485
  throw new Error(`图片尺寸无效: src=${r.src}, width=${r.naturalWidth}, height=${r.naturalHeight}`);
491
486
  try {
492
487
  const e = await createImageBitmap(r);
493
- return await b0(e, h);
488
+ return await m0(e, v);
494
489
  } catch (e) {
495
490
  throw new Error(`图片解码失败: src=${r.src}, 错误=${e instanceof Error ? e.message : e}`);
496
491
  }
@@ -498,25 +493,25 @@ async function it(r, h, t) {
498
493
  if (r instanceof ImageBitmap) {
499
494
  if (r.width === 0 || r.height === 0)
500
495
  throw new Error(`ImageBitmap 尺寸无效: width=${r.width}, height=${r.height}`);
501
- return await b0(r, h);
496
+ return await m0(r, v);
502
497
  }
503
498
  throw new Error("不支持的图片类型");
504
499
  }
505
- async function st(r, h, t) {
500
+ async function st(r, v, t) {
506
501
  try {
507
- const e = _e(r, t), d = await be(e);
508
- if (!d.ok) {
509
- const b = d.status === 404 ? `图片不存在 (404): ${r}` : `加载图片失败 (${d.status} ${d.statusText}): ${r}`;
510
- throw new Error(b);
502
+ const e = _e(r, t), u = await me(e);
503
+ if (!u.ok) {
504
+ const m = u.status === 404 ? `图片不存在 (404): ${r}` : `加载图片失败 (${u.status} ${u.statusText}): ${r}`;
505
+ throw new Error(m);
511
506
  }
512
- const v = await d.blob();
513
- if (!v.type.startsWith("image/") && v.size === 0)
507
+ const p = await u.blob();
508
+ if (!p.type.startsWith("image/") && p.size === 0)
514
509
  throw new Error(`图片数据无效: URL=${r}`);
515
510
  try {
516
- const b = await createImageBitmap(v);
517
- return await b0(b, h);
518
- } catch (b) {
519
- throw new Error(`图片解码失败: URL=${r}, 错误=${b instanceof Error ? b.message : b}`);
511
+ const m = await createImageBitmap(p);
512
+ return await m0(m, v);
513
+ } catch (m) {
514
+ throw new Error(`图片解码失败: URL=${r}, 错误=${m instanceof Error ? m.message : m}`);
520
515
  }
521
516
  } catch (e) {
522
517
  throw e instanceof Error ? e : new Error(`加载图片失败: ${r}, ${e}`);
@@ -524,7 +519,7 @@ async function st(r, h, t) {
524
519
  }
525
520
  function zr(r) {
526
521
  if (!r) return "source-over";
527
- const h = r.trim().toLowerCase();
522
+ const v = r.trim().toLowerCase();
528
523
  return {
529
524
  normal: "source-over",
530
525
  multiply: "multiply",
@@ -550,26 +545,26 @@ function zr(r) {
550
545
  "linear dodge": "lighter",
551
546
  lighter: "lighter",
552
547
  "pass-through": "source-over"
553
- }[h] || "source-over";
548
+ }[v] || "source-over";
554
549
  }
555
- var hr = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
550
+ var lr = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
556
551
  function ct(r) {
557
552
  if (Object.prototype.hasOwnProperty.call(r, "__esModule")) return r;
558
- var h = r.default;
559
- if (typeof h == "function") {
553
+ var v = r.default;
554
+ if (typeof v == "function") {
560
555
  var t = function e() {
561
- var d = !1;
556
+ var u = !1;
562
557
  try {
563
- d = this instanceof e;
558
+ u = this instanceof e;
564
559
  } catch {
565
560
  }
566
- return d ? Reflect.construct(h, arguments, this.constructor) : h.apply(this, arguments);
561
+ return u ? Reflect.construct(v, arguments, this.constructor) : v.apply(this, arguments);
567
562
  };
568
- t.prototype = h.prototype;
563
+ t.prototype = v.prototype;
569
564
  } else t = {};
570
565
  return Object.defineProperty(t, "__esModule", { value: !0 }), Object.keys(r).forEach(function(e) {
571
- var d = Object.getOwnPropertyDescriptor(r, e);
572
- Object.defineProperty(t, e, d.get ? d : {
566
+ var u = Object.getOwnPropertyDescriptor(r, e);
567
+ Object.defineProperty(t, e, u.get ? u : {
573
568
  enumerable: !0,
574
569
  get: function() {
575
570
  return r[e];
@@ -586,27 +581,27 @@ var y0 = { exports: {} }, ut = {}, dt = /* @__PURE__ */ Object.freeze({
586
581
  default: ut
587
582
  }), lt = /* @__PURE__ */ ct(dt), ht = y0.exports, Ir;
588
583
  function M() {
589
- return Ir || (Ir = 1, (function(r, h) {
584
+ return Ir || (Ir = 1, (function(r, v) {
590
585
  (function(t, e) {
591
586
  r.exports = e();
592
587
  })(ht, function() {
593
- var t = t || (function(e, d) {
594
- var v;
595
- if (typeof window < "u" && window.crypto && (v = window.crypto), typeof self < "u" && self.crypto && (v = self.crypto), typeof globalThis < "u" && globalThis.crypto && (v = globalThis.crypto), !v && typeof window < "u" && window.msCrypto && (v = window.msCrypto), !v && typeof hr < "u" && hr.crypto && (v = hr.crypto), !v && typeof ft == "function")
588
+ var t = t || (function(e, u) {
589
+ var p;
590
+ if (typeof window < "u" && window.crypto && (p = window.crypto), typeof self < "u" && self.crypto && (p = self.crypto), typeof globalThis < "u" && globalThis.crypto && (p = globalThis.crypto), !p && typeof window < "u" && window.msCrypto && (p = window.msCrypto), !p && typeof lr < "u" && lr.crypto && (p = lr.crypto), !p && typeof ft == "function")
596
591
  try {
597
- v = lt;
592
+ p = lt;
598
593
  } catch {
599
594
  }
600
- var b = function() {
601
- if (v) {
602
- if (typeof v.getRandomValues == "function")
595
+ var m = function() {
596
+ if (p) {
597
+ if (typeof p.getRandomValues == "function")
603
598
  try {
604
- return v.getRandomValues(new Uint32Array(1))[0];
599
+ return p.getRandomValues(new Uint32Array(1))[0];
605
600
  } catch {
606
601
  }
607
- if (typeof v.randomBytes == "function")
602
+ if (typeof p.randomBytes == "function")
608
603
  try {
609
- return v.randomBytes(4).readInt32LE();
604
+ return p.randomBytes(4).readInt32LE();
610
605
  } catch {
611
606
  }
612
607
  }
@@ -615,8 +610,8 @@ function M() {
615
610
  function i() {
616
611
  }
617
612
  return function(o) {
618
- var u;
619
- return i.prototype = o, u = new i(), i.prototype = null, u;
613
+ var d;
614
+ return i.prototype = o, d = new i(), i.prototype = null, d;
620
615
  };
621
616
  })(), C = {}, x = C.lib = {}, n = x.Base = /* @__PURE__ */ (function() {
622
617
  return {
@@ -717,7 +712,7 @@ function M() {
717
712
  * var wordArray = CryptoJS.lib.WordArray.create([0x00010203, 0x04050607], 6);
718
713
  */
719
714
  init: function(i, o) {
720
- i = this.words = i || [], o != d ? this.sigBytes = o : this.sigBytes = i.length * 4;
715
+ i = this.words = i || [], o != u ? this.sigBytes = o : this.sigBytes = i.length * 4;
721
716
  },
722
717
  /**
723
718
  * Converts this word array to a string.
@@ -747,16 +742,16 @@ function M() {
747
742
  * wordArray1.concat(wordArray2);
748
743
  */
749
744
  concat: function(i) {
750
- var o = this.words, u = i.words, m = this.sigBytes, g = i.sigBytes;
751
- if (this.clamp(), m % 4)
752
- for (var y = 0; y < g; y++) {
753
- var k = u[y >>> 2] >>> 24 - y % 4 * 8 & 255;
754
- o[m + y >>> 2] |= k << 24 - (m + y) % 4 * 8;
745
+ var o = this.words, d = i.words, b = this.sigBytes, D = i.sigBytes;
746
+ if (this.clamp(), b % 4)
747
+ for (var y = 0; y < D; y++) {
748
+ var k = d[y >>> 2] >>> 24 - y % 4 * 8 & 255;
749
+ o[b + y >>> 2] |= k << 24 - (b + y) % 4 * 8;
755
750
  }
756
751
  else
757
- for (var R = 0; R < g; R += 4)
758
- o[m + R >>> 2] = u[R >>> 2];
759
- return this.sigBytes += g, this;
752
+ for (var R = 0; R < D; R += 4)
753
+ o[b + R >>> 2] = d[R >>> 2];
754
+ return this.sigBytes += D, this;
760
755
  },
761
756
  /**
762
757
  * Removes insignificant bits.
@@ -796,8 +791,8 @@ function M() {
796
791
  * var wordArray = CryptoJS.lib.WordArray.random(16);
797
792
  */
798
793
  random: function(i) {
799
- for (var o = [], u = 0; u < i; u += 4)
800
- o.push(b());
794
+ for (var o = [], d = 0; d < i; d += 4)
795
+ o.push(m());
801
796
  return new E.init(o, i);
802
797
  }
803
798
  }), a = C.enc = {}, s = a.Hex = {
@@ -815,11 +810,11 @@ function M() {
815
810
  * var hexString = CryptoJS.enc.Hex.stringify(wordArray);
816
811
  */
817
812
  stringify: function(i) {
818
- for (var o = i.words, u = i.sigBytes, m = [], g = 0; g < u; g++) {
819
- var y = o[g >>> 2] >>> 24 - g % 4 * 8 & 255;
820
- m.push((y >>> 4).toString(16)), m.push((y & 15).toString(16));
813
+ for (var o = i.words, d = i.sigBytes, b = [], D = 0; D < d; D++) {
814
+ var y = o[D >>> 2] >>> 24 - D % 4 * 8 & 255;
815
+ b.push((y >>> 4).toString(16)), b.push((y & 15).toString(16));
821
816
  }
822
- return m.join("");
817
+ return b.join("");
823
818
  },
824
819
  /**
825
820
  * Converts a hex string to a word array.
@@ -835,9 +830,9 @@ function M() {
835
830
  * var wordArray = CryptoJS.enc.Hex.parse(hexString);
836
831
  */
837
832
  parse: function(i) {
838
- for (var o = i.length, u = [], m = 0; m < o; m += 2)
839
- u[m >>> 3] |= parseInt(i.substr(m, 2), 16) << 24 - m % 8 * 4;
840
- return new E.init(u, o / 2);
833
+ for (var o = i.length, d = [], b = 0; b < o; b += 2)
834
+ d[b >>> 3] |= parseInt(i.substr(b, 2), 16) << 24 - b % 8 * 4;
835
+ return new E.init(d, o / 2);
841
836
  }
842
837
  }, f = a.Latin1 = {
843
838
  /**
@@ -854,11 +849,11 @@ function M() {
854
849
  * var latin1String = CryptoJS.enc.Latin1.stringify(wordArray);
855
850
  */
856
851
  stringify: function(i) {
857
- for (var o = i.words, u = i.sigBytes, m = [], g = 0; g < u; g++) {
858
- var y = o[g >>> 2] >>> 24 - g % 4 * 8 & 255;
859
- m.push(String.fromCharCode(y));
852
+ for (var o = i.words, d = i.sigBytes, b = [], D = 0; D < d; D++) {
853
+ var y = o[D >>> 2] >>> 24 - D % 4 * 8 & 255;
854
+ b.push(String.fromCharCode(y));
860
855
  }
861
- return m.join("");
856
+ return b.join("");
862
857
  },
863
858
  /**
864
859
  * Converts a Latin1 string to a word array.
@@ -874,11 +869,11 @@ function M() {
874
869
  * var wordArray = CryptoJS.enc.Latin1.parse(latin1String);
875
870
  */
876
871
  parse: function(i) {
877
- for (var o = i.length, u = [], m = 0; m < o; m++)
878
- u[m >>> 2] |= (i.charCodeAt(m) & 255) << 24 - m % 4 * 8;
879
- return new E.init(u, o);
872
+ for (var o = i.length, d = [], b = 0; b < o; b++)
873
+ d[b >>> 2] |= (i.charCodeAt(b) & 255) << 24 - b % 4 * 8;
874
+ return new E.init(d, o);
880
875
  }
881
- }, p = a.Utf8 = {
876
+ }, h = a.Utf8 = {
882
877
  /**
883
878
  * Converts a word array to a UTF-8 string.
884
879
  *
@@ -937,7 +932,7 @@ function M() {
937
932
  * bufferedBlockAlgorithm._append(wordArray);
938
933
  */
939
934
  _append: function(i) {
940
- typeof i == "string" && (i = p.parse(i)), this._data.concat(i), this._nDataBytes += i.sigBytes;
935
+ typeof i == "string" && (i = h.parse(i)), this._data.concat(i), this._nDataBytes += i.sigBytes;
941
936
  },
942
937
  /**
943
938
  * Processes available data blocks.
@@ -954,13 +949,13 @@ function M() {
954
949
  * var processedData = bufferedBlockAlgorithm._process(!!'flush');
955
950
  */
956
951
  _process: function(i) {
957
- var o, u = this._data, m = u.words, g = u.sigBytes, y = this.blockSize, k = y * 4, R = g / k;
952
+ var o, d = this._data, b = d.words, D = d.sigBytes, y = this.blockSize, k = y * 4, R = D / k;
958
953
  i ? R = e.ceil(R) : R = e.max((R | 0) - this._minBufferSize, 0);
959
- var F = R * y, w = e.min(F * 4, g);
954
+ var F = R * y, w = e.min(F * 4, D);
960
955
  if (F) {
961
956
  for (var H = 0; H < F; H += y)
962
- this._doProcessBlock(m, H);
963
- o = m.splice(0, F), u.sigBytes -= w;
957
+ this._doProcessBlock(b, H);
958
+ o = b.splice(0, F), d.sigBytes -= w;
964
959
  }
965
960
  return new E.init(o, w);
966
961
  },
@@ -1055,8 +1050,8 @@ function M() {
1055
1050
  * var SHA256 = CryptoJS.lib.Hasher._createHelper(CryptoJS.algo.SHA256);
1056
1051
  */
1057
1052
  _createHelper: function(i) {
1058
- return function(o, u) {
1059
- return new i.init(u).finalize(o);
1053
+ return function(o, d) {
1054
+ return new i.init(d).finalize(o);
1060
1055
  };
1061
1056
  },
1062
1057
  /**
@@ -1073,12 +1068,12 @@ function M() {
1073
1068
  * var HmacSHA256 = CryptoJS.lib.Hasher._createHmacHelper(CryptoJS.algo.SHA256);
1074
1069
  */
1075
1070
  _createHmacHelper: function(i) {
1076
- return function(o, u) {
1077
- return new D.HMAC.init(i, u).finalize(o);
1071
+ return function(o, d) {
1072
+ return new g.HMAC.init(i, d).finalize(o);
1078
1073
  };
1079
1074
  }
1080
1075
  });
1081
- var D = C.algo = {};
1076
+ var g = C.algo = {};
1082
1077
  return C;
1083
1078
  })(Math);
1084
1079
  return t;
@@ -1086,14 +1081,14 @@ function M() {
1086
1081
  })(y0)), y0.exports;
1087
1082
  }
1088
1083
  var w0 = { exports: {} }, vt = w0.exports, Lr;
1089
- function ur() {
1090
- return Lr || (Lr = 1, (function(r, h) {
1084
+ function fr() {
1085
+ return Lr || (Lr = 1, (function(r, v) {
1091
1086
  (function(t, e) {
1092
1087
  r.exports = e(M());
1093
1088
  })(vt, function(t) {
1094
1089
  return (function(e) {
1095
- var d = t, v = d.lib, b = v.Base, B = v.WordArray, C = d.x64 = {};
1096
- C.Word = b.extend({
1090
+ var u = t, p = u.lib, m = p.Base, B = p.WordArray, C = u.x64 = {};
1091
+ C.Word = m.extend({
1097
1092
  /**
1098
1093
  * Initializes a newly created 64-bit word.
1099
1094
  *
@@ -1256,7 +1251,7 @@ function ur() {
1256
1251
  // var high = (this.high + word.high + carry) | 0;
1257
1252
  // return X64Word.create(high, low);
1258
1253
  // }
1259
- }), C.WordArray = b.extend({
1254
+ }), C.WordArray = m.extend({
1260
1255
  /**
1261
1256
  * Initializes a newly created word array.
1262
1257
  *
@@ -1306,7 +1301,7 @@ function ur() {
1306
1301
  * var clone = x64WordArray.clone();
1307
1302
  */
1308
1303
  clone: function() {
1309
- for (var x = b.clone.call(this), n = x.words = this.words.slice(0), E = n.length, a = 0; a < E; a++)
1304
+ for (var x = m.clone.call(this), n = x.words = this.words.slice(0), E = n.length, a = 0; a < E; a++)
1310
1305
  n[a] = n[a].clone();
1311
1306
  return x;
1312
1307
  }
@@ -1317,21 +1312,21 @@ function ur() {
1317
1312
  }
1318
1313
  var k0 = { exports: {} }, pt = k0.exports, Or;
1319
1314
  function Bt() {
1320
- return Or || (Or = 1, (function(r, h) {
1315
+ return Or || (Or = 1, (function(r, v) {
1321
1316
  (function(t, e) {
1322
1317
  r.exports = e(M());
1323
1318
  })(pt, function(t) {
1324
1319
  return (function() {
1325
1320
  if (typeof ArrayBuffer == "function") {
1326
- var e = t, d = e.lib, v = d.WordArray, b = v.init, B = v.init = function(C) {
1321
+ var e = t, u = e.lib, p = u.WordArray, m = p.init, B = p.init = function(C) {
1327
1322
  if (C instanceof ArrayBuffer && (C = new Uint8Array(C)), (C instanceof Int8Array || typeof Uint8ClampedArray < "u" && C instanceof Uint8ClampedArray || C instanceof Int16Array || C instanceof Uint16Array || C instanceof Int32Array || C instanceof Uint32Array || C instanceof Float32Array || C instanceof Float64Array) && (C = new Uint8Array(C.buffer, C.byteOffset, C.byteLength)), C instanceof Uint8Array) {
1328
1323
  for (var x = C.byteLength, n = [], E = 0; E < x; E++)
1329
1324
  n[E >>> 2] |= C[E] << 24 - E % 4 * 8;
1330
- b.call(this, n, x);
1325
+ m.call(this, n, x);
1331
1326
  } else
1332
- b.apply(this, arguments);
1327
+ m.apply(this, arguments);
1333
1328
  };
1334
- B.prototype = v;
1329
+ B.prototype = p;
1335
1330
  }
1336
1331
  })(), t.lib.WordArray;
1337
1332
  });
@@ -1339,13 +1334,13 @@ function Bt() {
1339
1334
  }
1340
1335
  var S0 = { exports: {} }, Ct = S0.exports, qr;
1341
1336
  function Et() {
1342
- return qr || (qr = 1, (function(r, h) {
1337
+ return qr || (qr = 1, (function(r, v) {
1343
1338
  (function(t, e) {
1344
1339
  r.exports = e(M());
1345
1340
  })(Ct, function(t) {
1346
1341
  return (function() {
1347
- var e = t, d = e.lib, v = d.WordArray, b = e.enc;
1348
- b.Utf16 = b.Utf16BE = {
1342
+ var e = t, u = e.lib, p = u.WordArray, m = e.enc;
1343
+ m.Utf16 = m.Utf16BE = {
1349
1344
  /**
1350
1345
  * Converts a word array to a UTF-16 BE string.
1351
1346
  *
@@ -1382,9 +1377,9 @@ function Et() {
1382
1377
  parse: function(C) {
1383
1378
  for (var x = C.length, n = [], E = 0; E < x; E++)
1384
1379
  n[E >>> 1] |= C.charCodeAt(E) << 16 - E % 2 * 16;
1385
- return v.create(n, x * 2);
1380
+ return p.create(n, x * 2);
1386
1381
  }
1387
- }, b.Utf16LE = {
1382
+ }, m.Utf16LE = {
1388
1383
  /**
1389
1384
  * Converts a word array to a UTF-16 LE string.
1390
1385
  *
@@ -1421,7 +1416,7 @@ function Et() {
1421
1416
  parse: function(C) {
1422
1417
  for (var x = C.length, n = [], E = 0; E < x; E++)
1423
1418
  n[E >>> 1] |= B(C.charCodeAt(E) << 16 - E % 2 * 16);
1424
- return v.create(n, x * 2);
1419
+ return p.create(n, x * 2);
1425
1420
  }
1426
1421
  };
1427
1422
  function B(C) {
@@ -1433,13 +1428,13 @@ function Et() {
1433
1428
  }
1434
1429
  var H0 = { exports: {} }, At = H0.exports, Tr;
1435
1430
  function i0() {
1436
- return Tr || (Tr = 1, (function(r, h) {
1431
+ return Tr || (Tr = 1, (function(r, v) {
1437
1432
  (function(t, e) {
1438
1433
  r.exports = e(M());
1439
1434
  })(At, function(t) {
1440
1435
  return (function() {
1441
- var e = t, d = e.lib, v = d.WordArray, b = e.enc;
1442
- b.Base64 = {
1436
+ var e = t, u = e.lib, p = u.WordArray, m = e.enc;
1437
+ m.Base64 = {
1443
1438
  /**
1444
1439
  * Converts a word array to a Base64 string.
1445
1440
  *
@@ -1457,8 +1452,8 @@ function i0() {
1457
1452
  var x = C.words, n = C.sigBytes, E = this._map;
1458
1453
  C.clamp();
1459
1454
  for (var a = [], s = 0; s < n; s += 3)
1460
- for (var f = x[s >>> 2] >>> 24 - s % 4 * 8 & 255, p = x[s + 1 >>> 2] >>> 24 - (s + 1) % 4 * 8 & 255, l = x[s + 2 >>> 2] >>> 24 - (s + 2) % 4 * 8 & 255, D = f << 16 | p << 8 | l, i = 0; i < 4 && s + i * 0.75 < n; i++)
1461
- a.push(E.charAt(D >>> 6 * (3 - i) & 63));
1455
+ for (var f = x[s >>> 2] >>> 24 - s % 4 * 8 & 255, h = x[s + 1 >>> 2] >>> 24 - (s + 1) % 4 * 8 & 255, l = x[s + 2 >>> 2] >>> 24 - (s + 2) % 4 * 8 & 255, g = f << 16 | h << 8 | l, i = 0; i < 4 && s + i * 0.75 < n; i++)
1456
+ a.push(E.charAt(g >>> 6 * (3 - i) & 63));
1462
1457
  var o = E.charAt(64);
1463
1458
  if (o)
1464
1459
  for (; a.length % 4; )
@@ -1497,24 +1492,24 @@ function i0() {
1497
1492
  function B(C, x, n) {
1498
1493
  for (var E = [], a = 0, s = 0; s < x; s++)
1499
1494
  if (s % 4) {
1500
- var f = n[C.charCodeAt(s - 1)] << s % 4 * 2, p = n[C.charCodeAt(s)] >>> 6 - s % 4 * 2, l = f | p;
1495
+ var f = n[C.charCodeAt(s - 1)] << s % 4 * 2, h = n[C.charCodeAt(s)] >>> 6 - s % 4 * 2, l = f | h;
1501
1496
  E[a >>> 2] |= l << 24 - a % 4 * 8, a++;
1502
1497
  }
1503
- return v.create(E, a);
1498
+ return p.create(E, a);
1504
1499
  }
1505
1500
  })(), t.enc.Base64;
1506
1501
  });
1507
1502
  })(H0)), H0.exports;
1508
1503
  }
1509
1504
  var $0 = { exports: {} }, Ft = $0.exports, Mr;
1510
- function gt() {
1511
- return Mr || (Mr = 1, (function(r, h) {
1505
+ function Dt() {
1506
+ return Mr || (Mr = 1, (function(r, v) {
1512
1507
  (function(t, e) {
1513
1508
  r.exports = e(M());
1514
1509
  })(Ft, function(t) {
1515
1510
  return (function() {
1516
- var e = t, d = e.lib, v = d.WordArray, b = e.enc;
1517
- b.Base64url = {
1511
+ var e = t, u = e.lib, p = u.WordArray, m = e.enc;
1512
+ m.Base64url = {
1518
1513
  /**
1519
1514
  * Converts a word array to a Base64url string.
1520
1515
  *
@@ -1535,12 +1530,12 @@ function gt() {
1535
1530
  var n = C.words, E = C.sigBytes, a = x ? this._safe_map : this._map;
1536
1531
  C.clamp();
1537
1532
  for (var s = [], f = 0; f < E; f += 3)
1538
- for (var p = n[f >>> 2] >>> 24 - f % 4 * 8 & 255, l = n[f + 1 >>> 2] >>> 24 - (f + 1) % 4 * 8 & 255, D = n[f + 2 >>> 2] >>> 24 - (f + 2) % 4 * 8 & 255, i = p << 16 | l << 8 | D, o = 0; o < 4 && f + o * 0.75 < E; o++)
1533
+ for (var h = n[f >>> 2] >>> 24 - f % 4 * 8 & 255, l = n[f + 1 >>> 2] >>> 24 - (f + 1) % 4 * 8 & 255, g = n[f + 2 >>> 2] >>> 24 - (f + 2) % 4 * 8 & 255, i = h << 16 | l << 8 | g, o = 0; o < 4 && f + o * 0.75 < E; o++)
1539
1534
  s.push(a.charAt(i >>> 6 * (3 - o) & 63));
1540
- var u = a.charAt(64);
1541
- if (u)
1535
+ var d = a.charAt(64);
1536
+ if (d)
1542
1537
  for (; s.length % 4; )
1543
- s.push(u);
1538
+ s.push(d);
1544
1539
  return s.join("");
1545
1540
  },
1546
1541
  /**
@@ -1568,8 +1563,8 @@ function gt() {
1568
1563
  }
1569
1564
  var f = E.charAt(64);
1570
1565
  if (f) {
1571
- var p = C.indexOf(f);
1572
- p !== -1 && (n = p);
1566
+ var h = C.indexOf(f);
1567
+ h !== -1 && (n = h);
1573
1568
  }
1574
1569
  return B(C, n, a);
1575
1570
  },
@@ -1579,91 +1574,91 @@ function gt() {
1579
1574
  function B(C, x, n) {
1580
1575
  for (var E = [], a = 0, s = 0; s < x; s++)
1581
1576
  if (s % 4) {
1582
- var f = n[C.charCodeAt(s - 1)] << s % 4 * 2, p = n[C.charCodeAt(s)] >>> 6 - s % 4 * 2, l = f | p;
1577
+ var f = n[C.charCodeAt(s - 1)] << s % 4 * 2, h = n[C.charCodeAt(s)] >>> 6 - s % 4 * 2, l = f | h;
1583
1578
  E[a >>> 2] |= l << 24 - a % 4 * 8, a++;
1584
1579
  }
1585
- return v.create(E, a);
1580
+ return p.create(E, a);
1586
1581
  }
1587
1582
  })(), t.enc.Base64url;
1588
1583
  });
1589
1584
  })($0)), $0.exports;
1590
1585
  }
1591
- var R0 = { exports: {} }, Dt = R0.exports, Nr;
1586
+ var R0 = { exports: {} }, gt = R0.exports, Nr;
1592
1587
  function s0() {
1593
- return Nr || (Nr = 1, (function(r, h) {
1588
+ return Nr || (Nr = 1, (function(r, v) {
1594
1589
  (function(t, e) {
1595
1590
  r.exports = e(M());
1596
- })(Dt, function(t) {
1591
+ })(gt, function(t) {
1597
1592
  return (function(e) {
1598
- var d = t, v = d.lib, b = v.WordArray, B = v.Hasher, C = d.algo, x = [];
1593
+ var u = t, p = u.lib, m = p.WordArray, B = p.Hasher, C = u.algo, x = [];
1599
1594
  (function() {
1600
- for (var p = 0; p < 64; p++)
1601
- x[p] = e.abs(e.sin(p + 1)) * 4294967296 | 0;
1595
+ for (var h = 0; h < 64; h++)
1596
+ x[h] = e.abs(e.sin(h + 1)) * 4294967296 | 0;
1602
1597
  })();
1603
1598
  var n = C.MD5 = B.extend({
1604
1599
  _doReset: function() {
1605
- this._hash = new b.init([
1600
+ this._hash = new m.init([
1606
1601
  1732584193,
1607
1602
  4023233417,
1608
1603
  2562383102,
1609
1604
  271733878
1610
1605
  ]);
1611
1606
  },
1612
- _doProcessBlock: function(p, l) {
1613
- for (var D = 0; D < 16; D++) {
1614
- var i = l + D, o = p[i];
1615
- p[i] = (o << 8 | o >>> 24) & 16711935 | (o << 24 | o >>> 8) & 4278255360;
1607
+ _doProcessBlock: function(h, l) {
1608
+ for (var g = 0; g < 16; g++) {
1609
+ var i = l + g, o = h[i];
1610
+ h[i] = (o << 8 | o >>> 24) & 16711935 | (o << 24 | o >>> 8) & 4278255360;
1616
1611
  }
1617
- var u = this._hash.words, m = p[l + 0], g = p[l + 1], y = p[l + 2], k = p[l + 3], R = p[l + 4], F = p[l + 5], w = p[l + 6], H = p[l + 7], $ = p[l + 8], W = p[l + 9], O = p[l + 10], q = p[l + 11], U = p[l + 12], T = p[l + 13], N = p[l + 14], j = p[l + 15], S = u[0], c = u[1], A = u[2], _ = u[3];
1618
- S = E(S, c, A, _, m, 7, x[0]), _ = E(_, S, c, A, g, 12, x[1]), A = E(A, _, S, c, y, 17, x[2]), c = E(c, A, _, S, k, 22, x[3]), S = E(S, c, A, _, R, 7, x[4]), _ = E(_, S, c, A, F, 12, x[5]), A = E(A, _, S, c, w, 17, x[6]), c = E(c, A, _, S, H, 22, x[7]), S = E(S, c, A, _, $, 7, x[8]), _ = E(_, S, c, A, W, 12, x[9]), A = E(A, _, S, c, O, 17, x[10]), c = E(c, A, _, S, q, 22, x[11]), S = E(S, c, A, _, U, 7, x[12]), _ = E(_, S, c, A, T, 12, x[13]), A = E(A, _, S, c, N, 17, x[14]), c = E(c, A, _, S, j, 22, x[15]), S = a(S, c, A, _, g, 5, x[16]), _ = a(_, S, c, A, w, 9, x[17]), A = a(A, _, S, c, q, 14, x[18]), c = a(c, A, _, S, m, 20, x[19]), S = a(S, c, A, _, F, 5, x[20]), _ = a(_, S, c, A, O, 9, x[21]), A = a(A, _, S, c, j, 14, x[22]), c = a(c, A, _, S, R, 20, x[23]), S = a(S, c, A, _, W, 5, x[24]), _ = a(_, S, c, A, N, 9, x[25]), A = a(A, _, S, c, k, 14, x[26]), c = a(c, A, _, S, $, 20, x[27]), S = a(S, c, A, _, T, 5, x[28]), _ = a(_, S, c, A, y, 9, x[29]), A = a(A, _, S, c, H, 14, x[30]), c = a(c, A, _, S, U, 20, x[31]), S = s(S, c, A, _, F, 4, x[32]), _ = s(_, S, c, A, $, 11, x[33]), A = s(A, _, S, c, q, 16, x[34]), c = s(c, A, _, S, N, 23, x[35]), S = s(S, c, A, _, g, 4, x[36]), _ = s(_, S, c, A, R, 11, x[37]), A = s(A, _, S, c, H, 16, x[38]), c = s(c, A, _, S, O, 23, x[39]), S = s(S, c, A, _, T, 4, x[40]), _ = s(_, S, c, A, m, 11, x[41]), A = s(A, _, S, c, k, 16, x[42]), c = s(c, A, _, S, w, 23, x[43]), S = s(S, c, A, _, W, 4, x[44]), _ = s(_, S, c, A, U, 11, x[45]), A = s(A, _, S, c, j, 16, x[46]), c = s(c, A, _, S, y, 23, x[47]), S = f(S, c, A, _, m, 6, x[48]), _ = f(_, S, c, A, H, 10, x[49]), A = f(A, _, S, c, N, 15, x[50]), c = f(c, A, _, S, F, 21, x[51]), S = f(S, c, A, _, U, 6, x[52]), _ = f(_, S, c, A, k, 10, x[53]), A = f(A, _, S, c, O, 15, x[54]), c = f(c, A, _, S, g, 21, x[55]), S = f(S, c, A, _, $, 6, x[56]), _ = f(_, S, c, A, j, 10, x[57]), A = f(A, _, S, c, w, 15, x[58]), c = f(c, A, _, S, T, 21, x[59]), S = f(S, c, A, _, R, 6, x[60]), _ = f(_, S, c, A, q, 10, x[61]), A = f(A, _, S, c, y, 15, x[62]), c = f(c, A, _, S, W, 21, x[63]), u[0] = u[0] + S | 0, u[1] = u[1] + c | 0, u[2] = u[2] + A | 0, u[3] = u[3] + _ | 0;
1612
+ var d = this._hash.words, b = h[l + 0], D = h[l + 1], y = h[l + 2], k = h[l + 3], R = h[l + 4], F = h[l + 5], w = h[l + 6], H = h[l + 7], $ = h[l + 8], W = h[l + 9], O = h[l + 10], q = h[l + 11], U = h[l + 12], T = h[l + 13], N = h[l + 14], j = h[l + 15], S = d[0], c = d[1], A = d[2], _ = d[3];
1613
+ S = E(S, c, A, _, b, 7, x[0]), _ = E(_, S, c, A, D, 12, x[1]), A = E(A, _, S, c, y, 17, x[2]), c = E(c, A, _, S, k, 22, x[3]), S = E(S, c, A, _, R, 7, x[4]), _ = E(_, S, c, A, F, 12, x[5]), A = E(A, _, S, c, w, 17, x[6]), c = E(c, A, _, S, H, 22, x[7]), S = E(S, c, A, _, $, 7, x[8]), _ = E(_, S, c, A, W, 12, x[9]), A = E(A, _, S, c, O, 17, x[10]), c = E(c, A, _, S, q, 22, x[11]), S = E(S, c, A, _, U, 7, x[12]), _ = E(_, S, c, A, T, 12, x[13]), A = E(A, _, S, c, N, 17, x[14]), c = E(c, A, _, S, j, 22, x[15]), S = a(S, c, A, _, D, 5, x[16]), _ = a(_, S, c, A, w, 9, x[17]), A = a(A, _, S, c, q, 14, x[18]), c = a(c, A, _, S, b, 20, x[19]), S = a(S, c, A, _, F, 5, x[20]), _ = a(_, S, c, A, O, 9, x[21]), A = a(A, _, S, c, j, 14, x[22]), c = a(c, A, _, S, R, 20, x[23]), S = a(S, c, A, _, W, 5, x[24]), _ = a(_, S, c, A, N, 9, x[25]), A = a(A, _, S, c, k, 14, x[26]), c = a(c, A, _, S, $, 20, x[27]), S = a(S, c, A, _, T, 5, x[28]), _ = a(_, S, c, A, y, 9, x[29]), A = a(A, _, S, c, H, 14, x[30]), c = a(c, A, _, S, U, 20, x[31]), S = s(S, c, A, _, F, 4, x[32]), _ = s(_, S, c, A, $, 11, x[33]), A = s(A, _, S, c, q, 16, x[34]), c = s(c, A, _, S, N, 23, x[35]), S = s(S, c, A, _, D, 4, x[36]), _ = s(_, S, c, A, R, 11, x[37]), A = s(A, _, S, c, H, 16, x[38]), c = s(c, A, _, S, O, 23, x[39]), S = s(S, c, A, _, T, 4, x[40]), _ = s(_, S, c, A, b, 11, x[41]), A = s(A, _, S, c, k, 16, x[42]), c = s(c, A, _, S, w, 23, x[43]), S = s(S, c, A, _, W, 4, x[44]), _ = s(_, S, c, A, U, 11, x[45]), A = s(A, _, S, c, j, 16, x[46]), c = s(c, A, _, S, y, 23, x[47]), S = f(S, c, A, _, b, 6, x[48]), _ = f(_, S, c, A, H, 10, x[49]), A = f(A, _, S, c, N, 15, x[50]), c = f(c, A, _, S, F, 21, x[51]), S = f(S, c, A, _, U, 6, x[52]), _ = f(_, S, c, A, k, 10, x[53]), A = f(A, _, S, c, O, 15, x[54]), c = f(c, A, _, S, D, 21, x[55]), S = f(S, c, A, _, $, 6, x[56]), _ = f(_, S, c, A, j, 10, x[57]), A = f(A, _, S, c, w, 15, x[58]), c = f(c, A, _, S, T, 21, x[59]), S = f(S, c, A, _, R, 6, x[60]), _ = f(_, S, c, A, q, 10, x[61]), A = f(A, _, S, c, y, 15, x[62]), c = f(c, A, _, S, W, 21, x[63]), d[0] = d[0] + S | 0, d[1] = d[1] + c | 0, d[2] = d[2] + A | 0, d[3] = d[3] + _ | 0;
1619
1614
  },
1620
1615
  _doFinalize: function() {
1621
- var p = this._data, l = p.words, D = this._nDataBytes * 8, i = p.sigBytes * 8;
1616
+ var h = this._data, l = h.words, g = this._nDataBytes * 8, i = h.sigBytes * 8;
1622
1617
  l[i >>> 5] |= 128 << 24 - i % 32;
1623
- var o = e.floor(D / 4294967296), u = D;
1624
- l[(i + 64 >>> 9 << 4) + 15] = (o << 8 | o >>> 24) & 16711935 | (o << 24 | o >>> 8) & 4278255360, l[(i + 64 >>> 9 << 4) + 14] = (u << 8 | u >>> 24) & 16711935 | (u << 24 | u >>> 8) & 4278255360, p.sigBytes = (l.length + 1) * 4, this._process();
1625
- for (var m = this._hash, g = m.words, y = 0; y < 4; y++) {
1626
- var k = g[y];
1627
- g[y] = (k << 8 | k >>> 24) & 16711935 | (k << 24 | k >>> 8) & 4278255360;
1618
+ var o = e.floor(g / 4294967296), d = g;
1619
+ l[(i + 64 >>> 9 << 4) + 15] = (o << 8 | o >>> 24) & 16711935 | (o << 24 | o >>> 8) & 4278255360, l[(i + 64 >>> 9 << 4) + 14] = (d << 8 | d >>> 24) & 16711935 | (d << 24 | d >>> 8) & 4278255360, h.sigBytes = (l.length + 1) * 4, this._process();
1620
+ for (var b = this._hash, D = b.words, y = 0; y < 4; y++) {
1621
+ var k = D[y];
1622
+ D[y] = (k << 8 | k >>> 24) & 16711935 | (k << 24 | k >>> 8) & 4278255360;
1628
1623
  }
1629
- return m;
1624
+ return b;
1630
1625
  },
1631
1626
  clone: function() {
1632
- var p = B.clone.call(this);
1633
- return p._hash = this._hash.clone(), p;
1627
+ var h = B.clone.call(this);
1628
+ return h._hash = this._hash.clone(), h;
1634
1629
  }
1635
1630
  });
1636
- function E(p, l, D, i, o, u, m) {
1637
- var g = p + (l & D | ~l & i) + o + m;
1638
- return (g << u | g >>> 32 - u) + l;
1631
+ function E(h, l, g, i, o, d, b) {
1632
+ var D = h + (l & g | ~l & i) + o + b;
1633
+ return (D << d | D >>> 32 - d) + l;
1639
1634
  }
1640
- function a(p, l, D, i, o, u, m) {
1641
- var g = p + (l & i | D & ~i) + o + m;
1642
- return (g << u | g >>> 32 - u) + l;
1635
+ function a(h, l, g, i, o, d, b) {
1636
+ var D = h + (l & i | g & ~i) + o + b;
1637
+ return (D << d | D >>> 32 - d) + l;
1643
1638
  }
1644
- function s(p, l, D, i, o, u, m) {
1645
- var g = p + (l ^ D ^ i) + o + m;
1646
- return (g << u | g >>> 32 - u) + l;
1639
+ function s(h, l, g, i, o, d, b) {
1640
+ var D = h + (l ^ g ^ i) + o + b;
1641
+ return (D << d | D >>> 32 - d) + l;
1647
1642
  }
1648
- function f(p, l, D, i, o, u, m) {
1649
- var g = p + (D ^ (l | ~i)) + o + m;
1650
- return (g << u | g >>> 32 - u) + l;
1643
+ function f(h, l, g, i, o, d, b) {
1644
+ var D = h + (g ^ (l | ~i)) + o + b;
1645
+ return (D << d | D >>> 32 - d) + l;
1651
1646
  }
1652
- d.MD5 = B._createHelper(n), d.HmacMD5 = B._createHmacHelper(n);
1647
+ u.MD5 = B._createHelper(n), u.HmacMD5 = B._createHmacHelper(n);
1653
1648
  })(Math), t.MD5;
1654
1649
  });
1655
1650
  })(R0)), R0.exports;
1656
1651
  }
1657
- var P0 = { exports: {} }, mt = P0.exports, Ur;
1652
+ var P0 = { exports: {} }, bt = P0.exports, Ur;
1658
1653
  function ye() {
1659
- return Ur || (Ur = 1, (function(r, h) {
1654
+ return Ur || (Ur = 1, (function(r, v) {
1660
1655
  (function(t, e) {
1661
1656
  r.exports = e(M());
1662
- })(mt, function(t) {
1657
+ })(bt, function(t) {
1663
1658
  return (function() {
1664
- var e = t, d = e.lib, v = d.WordArray, b = d.Hasher, B = e.algo, C = [], x = B.SHA1 = b.extend({
1659
+ var e = t, u = e.lib, p = u.WordArray, m = u.Hasher, B = e.algo, C = [], x = B.SHA1 = m.extend({
1665
1660
  _doReset: function() {
1666
- this._hash = new v.init([
1661
+ this._hash = new p.init([
1667
1662
  1732584193,
1668
1663
  4023233417,
1669
1664
  2562383102,
@@ -1672,94 +1667,94 @@ function ye() {
1672
1667
  ]);
1673
1668
  },
1674
1669
  _doProcessBlock: function(n, E) {
1675
- for (var a = this._hash.words, s = a[0], f = a[1], p = a[2], l = a[3], D = a[4], i = 0; i < 80; i++) {
1670
+ for (var a = this._hash.words, s = a[0], f = a[1], h = a[2], l = a[3], g = a[4], i = 0; i < 80; i++) {
1676
1671
  if (i < 16)
1677
1672
  C[i] = n[E + i] | 0;
1678
1673
  else {
1679
1674
  var o = C[i - 3] ^ C[i - 8] ^ C[i - 14] ^ C[i - 16];
1680
1675
  C[i] = o << 1 | o >>> 31;
1681
1676
  }
1682
- var u = (s << 5 | s >>> 27) + D + C[i];
1683
- i < 20 ? u += (f & p | ~f & l) + 1518500249 : i < 40 ? u += (f ^ p ^ l) + 1859775393 : i < 60 ? u += (f & p | f & l | p & l) - 1894007588 : u += (f ^ p ^ l) - 899497514, D = l, l = p, p = f << 30 | f >>> 2, f = s, s = u;
1677
+ var d = (s << 5 | s >>> 27) + g + C[i];
1678
+ i < 20 ? d += (f & h | ~f & l) + 1518500249 : i < 40 ? d += (f ^ h ^ l) + 1859775393 : i < 60 ? d += (f & h | f & l | h & l) - 1894007588 : d += (f ^ h ^ l) - 899497514, g = l, l = h, h = f << 30 | f >>> 2, f = s, s = d;
1684
1679
  }
1685
- a[0] = a[0] + s | 0, a[1] = a[1] + f | 0, a[2] = a[2] + p | 0, a[3] = a[3] + l | 0, a[4] = a[4] + D | 0;
1680
+ a[0] = a[0] + s | 0, a[1] = a[1] + f | 0, a[2] = a[2] + h | 0, a[3] = a[3] + l | 0, a[4] = a[4] + g | 0;
1686
1681
  },
1687
1682
  _doFinalize: function() {
1688
1683
  var n = this._data, E = n.words, a = this._nDataBytes * 8, s = n.sigBytes * 8;
1689
1684
  return E[s >>> 5] |= 128 << 24 - s % 32, E[(s + 64 >>> 9 << 4) + 14] = Math.floor(a / 4294967296), E[(s + 64 >>> 9 << 4) + 15] = a, n.sigBytes = E.length * 4, this._process(), this._hash;
1690
1685
  },
1691
1686
  clone: function() {
1692
- var n = b.clone.call(this);
1687
+ var n = m.clone.call(this);
1693
1688
  return n._hash = this._hash.clone(), n;
1694
1689
  }
1695
1690
  });
1696
- e.SHA1 = b._createHelper(x), e.HmacSHA1 = b._createHmacHelper(x);
1691
+ e.SHA1 = m._createHelper(x), e.HmacSHA1 = m._createHmacHelper(x);
1697
1692
  })(), t.SHA1;
1698
1693
  });
1699
1694
  })(P0)), P0.exports;
1700
1695
  }
1701
- var W0 = { exports: {} }, bt = W0.exports, jr;
1696
+ var W0 = { exports: {} }, mt = W0.exports, jr;
1702
1697
  function Er() {
1703
- return jr || (jr = 1, (function(r, h) {
1698
+ return jr || (jr = 1, (function(r, v) {
1704
1699
  (function(t, e) {
1705
1700
  r.exports = e(M());
1706
- })(bt, function(t) {
1701
+ })(mt, function(t) {
1707
1702
  return (function(e) {
1708
- var d = t, v = d.lib, b = v.WordArray, B = v.Hasher, C = d.algo, x = [], n = [];
1703
+ var u = t, p = u.lib, m = p.WordArray, B = p.Hasher, C = u.algo, x = [], n = [];
1709
1704
  (function() {
1710
- function s(D) {
1711
- for (var i = e.sqrt(D), o = 2; o <= i; o++)
1712
- if (!(D % o))
1705
+ function s(g) {
1706
+ for (var i = e.sqrt(g), o = 2; o <= i; o++)
1707
+ if (!(g % o))
1713
1708
  return !1;
1714
1709
  return !0;
1715
1710
  }
1716
- function f(D) {
1717
- return (D - (D | 0)) * 4294967296 | 0;
1711
+ function f(g) {
1712
+ return (g - (g | 0)) * 4294967296 | 0;
1718
1713
  }
1719
- for (var p = 2, l = 0; l < 64; )
1720
- s(p) && (l < 8 && (x[l] = f(e.pow(p, 1 / 2))), n[l] = f(e.pow(p, 1 / 3)), l++), p++;
1714
+ for (var h = 2, l = 0; l < 64; )
1715
+ s(h) && (l < 8 && (x[l] = f(e.pow(h, 1 / 2))), n[l] = f(e.pow(h, 1 / 3)), l++), h++;
1721
1716
  })();
1722
1717
  var E = [], a = C.SHA256 = B.extend({
1723
1718
  _doReset: function() {
1724
- this._hash = new b.init(x.slice(0));
1719
+ this._hash = new m.init(x.slice(0));
1725
1720
  },
1726
1721
  _doProcessBlock: function(s, f) {
1727
- for (var p = this._hash.words, l = p[0], D = p[1], i = p[2], o = p[3], u = p[4], m = p[5], g = p[6], y = p[7], k = 0; k < 64; k++) {
1722
+ for (var h = this._hash.words, l = h[0], g = h[1], i = h[2], o = h[3], d = h[4], b = h[5], D = h[6], y = h[7], k = 0; k < 64; k++) {
1728
1723
  if (k < 16)
1729
1724
  E[k] = s[f + k] | 0;
1730
1725
  else {
1731
1726
  var R = E[k - 15], F = (R << 25 | R >>> 7) ^ (R << 14 | R >>> 18) ^ R >>> 3, w = E[k - 2], H = (w << 15 | w >>> 17) ^ (w << 13 | w >>> 19) ^ w >>> 10;
1732
1727
  E[k] = F + E[k - 7] + H + E[k - 16];
1733
1728
  }
1734
- var $ = u & m ^ ~u & g, W = l & D ^ l & i ^ D & i, O = (l << 30 | l >>> 2) ^ (l << 19 | l >>> 13) ^ (l << 10 | l >>> 22), q = (u << 26 | u >>> 6) ^ (u << 21 | u >>> 11) ^ (u << 7 | u >>> 25), U = y + q + $ + n[k] + E[k], T = O + W;
1735
- y = g, g = m, m = u, u = o + U | 0, o = i, i = D, D = l, l = U + T | 0;
1729
+ var $ = d & b ^ ~d & D, W = l & g ^ l & i ^ g & i, O = (l << 30 | l >>> 2) ^ (l << 19 | l >>> 13) ^ (l << 10 | l >>> 22), q = (d << 26 | d >>> 6) ^ (d << 21 | d >>> 11) ^ (d << 7 | d >>> 25), U = y + q + $ + n[k] + E[k], T = O + W;
1730
+ y = D, D = b, b = d, d = o + U | 0, o = i, i = g, g = l, l = U + T | 0;
1736
1731
  }
1737
- p[0] = p[0] + l | 0, p[1] = p[1] + D | 0, p[2] = p[2] + i | 0, p[3] = p[3] + o | 0, p[4] = p[4] + u | 0, p[5] = p[5] + m | 0, p[6] = p[6] + g | 0, p[7] = p[7] + y | 0;
1732
+ h[0] = h[0] + l | 0, h[1] = h[1] + g | 0, h[2] = h[2] + i | 0, h[3] = h[3] + o | 0, h[4] = h[4] + d | 0, h[5] = h[5] + b | 0, h[6] = h[6] + D | 0, h[7] = h[7] + y | 0;
1738
1733
  },
1739
1734
  _doFinalize: function() {
1740
- var s = this._data, f = s.words, p = this._nDataBytes * 8, l = s.sigBytes * 8;
1741
- return f[l >>> 5] |= 128 << 24 - l % 32, f[(l + 64 >>> 9 << 4) + 14] = e.floor(p / 4294967296), f[(l + 64 >>> 9 << 4) + 15] = p, s.sigBytes = f.length * 4, this._process(), this._hash;
1735
+ var s = this._data, f = s.words, h = this._nDataBytes * 8, l = s.sigBytes * 8;
1736
+ return f[l >>> 5] |= 128 << 24 - l % 32, f[(l + 64 >>> 9 << 4) + 14] = e.floor(h / 4294967296), f[(l + 64 >>> 9 << 4) + 15] = h, s.sigBytes = f.length * 4, this._process(), this._hash;
1742
1737
  },
1743
1738
  clone: function() {
1744
1739
  var s = B.clone.call(this);
1745
1740
  return s._hash = this._hash.clone(), s;
1746
1741
  }
1747
1742
  });
1748
- d.SHA256 = B._createHelper(a), d.HmacSHA256 = B._createHmacHelper(a);
1743
+ u.SHA256 = B._createHelper(a), u.HmacSHA256 = B._createHmacHelper(a);
1749
1744
  })(Math), t.SHA256;
1750
1745
  });
1751
1746
  })(W0)), W0.exports;
1752
1747
  }
1753
1748
  var z0 = { exports: {} }, _t = z0.exports, Gr;
1754
1749
  function yt() {
1755
- return Gr || (Gr = 1, (function(r, h) {
1756
- (function(t, e, d) {
1750
+ return Gr || (Gr = 1, (function(r, v) {
1751
+ (function(t, e, u) {
1757
1752
  r.exports = e(M(), Er());
1758
1753
  })(_t, function(t) {
1759
1754
  return (function() {
1760
- var e = t, d = e.lib, v = d.WordArray, b = e.algo, B = b.SHA256, C = b.SHA224 = B.extend({
1755
+ var e = t, u = e.lib, p = u.WordArray, m = e.algo, B = m.SHA256, C = m.SHA224 = B.extend({
1761
1756
  _doReset: function() {
1762
- this._hash = new v.init([
1757
+ this._hash = new p.init([
1763
1758
  3238371032,
1764
1759
  914150663,
1765
1760
  812702999,
@@ -1782,12 +1777,12 @@ function yt() {
1782
1777
  }
1783
1778
  var I0 = { exports: {} }, wt = I0.exports, Kr;
1784
1779
  function we() {
1785
- return Kr || (Kr = 1, (function(r, h) {
1786
- (function(t, e, d) {
1787
- r.exports = e(M(), ur());
1780
+ return Kr || (Kr = 1, (function(r, v) {
1781
+ (function(t, e, u) {
1782
+ r.exports = e(M(), fr());
1788
1783
  })(wt, function(t) {
1789
1784
  return (function() {
1790
- var e = t, d = e.lib, v = d.Hasher, b = e.x64, B = b.Word, C = b.WordArray, x = e.algo;
1785
+ var e = t, u = e.lib, p = u.Hasher, m = e.x64, B = m.Word, C = m.WordArray, x = e.algo;
1791
1786
  function n() {
1792
1787
  return B.create.apply(B, arguments);
1793
1788
  }
@@ -1877,7 +1872,7 @@ function we() {
1877
1872
  for (var f = 0; f < 80; f++)
1878
1873
  a[f] = n();
1879
1874
  })();
1880
- var s = x.SHA512 = v.extend({
1875
+ var s = x.SHA512 = p.extend({
1881
1876
  _doReset: function() {
1882
1877
  this._hash = new C.init([
1883
1878
  new B.init(1779033703, 4089235720),
@@ -1890,55 +1885,55 @@ function we() {
1890
1885
  new B.init(1541459225, 327033209)
1891
1886
  ]);
1892
1887
  },
1893
- _doProcessBlock: function(f, p) {
1894
- for (var l = this._hash.words, D = l[0], i = l[1], o = l[2], u = l[3], m = l[4], g = l[5], y = l[6], k = l[7], R = D.high, F = D.low, w = i.high, H = i.low, $ = o.high, W = o.low, O = u.high, q = u.low, U = m.high, T = m.low, N = g.high, j = g.low, S = y.high, c = y.low, A = k.high, _ = k.low, z = R, P = F, L = w, I = H, Z = $, Q = W, o0 = O, K = q, G = U, Y = T, r0 = N, c0 = j, g0 = S, v0 = c, dr = A, p0 = _, e0 = 0; e0 < 80; e0++) {
1895
- var J, x0, D0 = a[e0];
1888
+ _doProcessBlock: function(f, h) {
1889
+ for (var l = this._hash.words, g = l[0], i = l[1], o = l[2], d = l[3], b = l[4], D = l[5], y = l[6], k = l[7], R = g.high, F = g.low, w = i.high, H = i.low, $ = o.high, W = o.low, O = d.high, q = d.low, U = b.high, T = b.low, N = D.high, j = D.low, S = y.high, c = y.low, A = k.high, _ = k.low, z = R, P = F, L = w, I = H, Z = $, Q = W, o0 = O, K = q, G = U, Y = T, r0 = N, c0 = j, D0 = S, v0 = c, ur = A, p0 = _, e0 = 0; e0 < 80; e0++) {
1890
+ var J, x0, g0 = a[e0];
1896
1891
  if (e0 < 16)
1897
- x0 = D0.high = f[p + e0 * 2] | 0, J = D0.low = f[p + e0 * 2 + 1] | 0;
1892
+ x0 = g0.high = f[h + e0 * 2] | 0, J = g0.low = f[h + e0 * 2 + 1] | 0;
1898
1893
  else {
1899
- var gr = a[e0 - 15], f0 = gr.high, B0 = gr.low, Re = (f0 >>> 1 | B0 << 31) ^ (f0 >>> 8 | B0 << 24) ^ f0 >>> 7, Dr = (B0 >>> 1 | f0 << 31) ^ (B0 >>> 8 | f0 << 24) ^ (B0 >>> 7 | f0 << 25), mr = a[e0 - 2], u0 = mr.high, C0 = mr.low, Pe = (u0 >>> 19 | C0 << 13) ^ (u0 << 3 | C0 >>> 29) ^ u0 >>> 6, br = (C0 >>> 19 | u0 << 13) ^ (C0 << 3 | u0 >>> 29) ^ (C0 >>> 6 | u0 << 26), _r = a[e0 - 7], We = _r.high, ze = _r.low, yr = a[e0 - 16], Ie = yr.high, wr = yr.low;
1900
- J = Dr + ze, x0 = Re + We + (J >>> 0 < Dr >>> 0 ? 1 : 0), J = J + br, x0 = x0 + Pe + (J >>> 0 < br >>> 0 ? 1 : 0), J = J + wr, x0 = x0 + Ie + (J >>> 0 < wr >>> 0 ? 1 : 0), D0.high = x0, D0.low = J;
1894
+ var Dr = a[e0 - 15], f0 = Dr.high, B0 = Dr.low, Re = (f0 >>> 1 | B0 << 31) ^ (f0 >>> 8 | B0 << 24) ^ f0 >>> 7, gr = (B0 >>> 1 | f0 << 31) ^ (B0 >>> 8 | f0 << 24) ^ (B0 >>> 7 | f0 << 25), br = a[e0 - 2], u0 = br.high, C0 = br.low, Pe = (u0 >>> 19 | C0 << 13) ^ (u0 << 3 | C0 >>> 29) ^ u0 >>> 6, mr = (C0 >>> 19 | u0 << 13) ^ (C0 << 3 | u0 >>> 29) ^ (C0 >>> 6 | u0 << 26), _r = a[e0 - 7], We = _r.high, ze = _r.low, yr = a[e0 - 16], Ie = yr.high, wr = yr.low;
1895
+ J = gr + ze, x0 = Re + We + (J >>> 0 < gr >>> 0 ? 1 : 0), J = J + mr, x0 = x0 + Pe + (J >>> 0 < mr >>> 0 ? 1 : 0), J = J + wr, x0 = x0 + Ie + (J >>> 0 < wr >>> 0 ? 1 : 0), g0.high = x0, g0.low = J;
1901
1896
  }
1902
- var Le = G & r0 ^ ~G & g0, kr = Y & c0 ^ ~Y & v0, Oe = z & L ^ z & Z ^ L & Z, qe = P & I ^ P & Q ^ I & Q, Te = (z >>> 28 | P << 4) ^ (z << 30 | P >>> 2) ^ (z << 25 | P >>> 7), Sr = (P >>> 28 | z << 4) ^ (P << 30 | z >>> 2) ^ (P << 25 | z >>> 7), Me = (G >>> 14 | Y << 18) ^ (G >>> 18 | Y << 14) ^ (G << 23 | Y >>> 9), Ne = (Y >>> 14 | G << 18) ^ (Y >>> 18 | G << 14) ^ (Y << 23 | G >>> 9), Hr = E[e0], Ue = Hr.high, $r = Hr.low, V = p0 + Ne, n0 = dr + Me + (V >>> 0 < p0 >>> 0 ? 1 : 0), V = V + kr, n0 = n0 + Le + (V >>> 0 < kr >>> 0 ? 1 : 0), V = V + $r, n0 = n0 + Ue + (V >>> 0 < $r >>> 0 ? 1 : 0), V = V + J, n0 = n0 + x0 + (V >>> 0 < J >>> 0 ? 1 : 0), Rr = Sr + qe, je = Te + Oe + (Rr >>> 0 < Sr >>> 0 ? 1 : 0);
1903
- dr = g0, p0 = v0, g0 = r0, v0 = c0, r0 = G, c0 = Y, Y = K + V | 0, G = o0 + n0 + (Y >>> 0 < K >>> 0 ? 1 : 0) | 0, o0 = Z, K = Q, Z = L, Q = I, L = z, I = P, P = V + Rr | 0, z = n0 + je + (P >>> 0 < V >>> 0 ? 1 : 0) | 0;
1897
+ var Le = G & r0 ^ ~G & D0, kr = Y & c0 ^ ~Y & v0, Oe = z & L ^ z & Z ^ L & Z, qe = P & I ^ P & Q ^ I & Q, Te = (z >>> 28 | P << 4) ^ (z << 30 | P >>> 2) ^ (z << 25 | P >>> 7), Sr = (P >>> 28 | z << 4) ^ (P << 30 | z >>> 2) ^ (P << 25 | z >>> 7), Me = (G >>> 14 | Y << 18) ^ (G >>> 18 | Y << 14) ^ (G << 23 | Y >>> 9), Ne = (Y >>> 14 | G << 18) ^ (Y >>> 18 | G << 14) ^ (Y << 23 | G >>> 9), Hr = E[e0], Ue = Hr.high, $r = Hr.low, V = p0 + Ne, n0 = ur + Me + (V >>> 0 < p0 >>> 0 ? 1 : 0), V = V + kr, n0 = n0 + Le + (V >>> 0 < kr >>> 0 ? 1 : 0), V = V + $r, n0 = n0 + Ue + (V >>> 0 < $r >>> 0 ? 1 : 0), V = V + J, n0 = n0 + x0 + (V >>> 0 < J >>> 0 ? 1 : 0), Rr = Sr + qe, je = Te + Oe + (Rr >>> 0 < Sr >>> 0 ? 1 : 0);
1898
+ ur = D0, p0 = v0, D0 = r0, v0 = c0, r0 = G, c0 = Y, Y = K + V | 0, G = o0 + n0 + (Y >>> 0 < K >>> 0 ? 1 : 0) | 0, o0 = Z, K = Q, Z = L, Q = I, L = z, I = P, P = V + Rr | 0, z = n0 + je + (P >>> 0 < V >>> 0 ? 1 : 0) | 0;
1904
1899
  }
1905
- F = D.low = F + P, D.high = R + z + (F >>> 0 < P >>> 0 ? 1 : 0), H = i.low = H + I, i.high = w + L + (H >>> 0 < I >>> 0 ? 1 : 0), W = o.low = W + Q, o.high = $ + Z + (W >>> 0 < Q >>> 0 ? 1 : 0), q = u.low = q + K, u.high = O + o0 + (q >>> 0 < K >>> 0 ? 1 : 0), T = m.low = T + Y, m.high = U + G + (T >>> 0 < Y >>> 0 ? 1 : 0), j = g.low = j + c0, g.high = N + r0 + (j >>> 0 < c0 >>> 0 ? 1 : 0), c = y.low = c + v0, y.high = S + g0 + (c >>> 0 < v0 >>> 0 ? 1 : 0), _ = k.low = _ + p0, k.high = A + dr + (_ >>> 0 < p0 >>> 0 ? 1 : 0);
1900
+ F = g.low = F + P, g.high = R + z + (F >>> 0 < P >>> 0 ? 1 : 0), H = i.low = H + I, i.high = w + L + (H >>> 0 < I >>> 0 ? 1 : 0), W = o.low = W + Q, o.high = $ + Z + (W >>> 0 < Q >>> 0 ? 1 : 0), q = d.low = q + K, d.high = O + o0 + (q >>> 0 < K >>> 0 ? 1 : 0), T = b.low = T + Y, b.high = U + G + (T >>> 0 < Y >>> 0 ? 1 : 0), j = D.low = j + c0, D.high = N + r0 + (j >>> 0 < c0 >>> 0 ? 1 : 0), c = y.low = c + v0, y.high = S + D0 + (c >>> 0 < v0 >>> 0 ? 1 : 0), _ = k.low = _ + p0, k.high = A + ur + (_ >>> 0 < p0 >>> 0 ? 1 : 0);
1906
1901
  },
1907
1902
  _doFinalize: function() {
1908
- var f = this._data, p = f.words, l = this._nDataBytes * 8, D = f.sigBytes * 8;
1909
- p[D >>> 5] |= 128 << 24 - D % 32, p[(D + 128 >>> 10 << 5) + 30] = Math.floor(l / 4294967296), p[(D + 128 >>> 10 << 5) + 31] = l, f.sigBytes = p.length * 4, this._process();
1903
+ var f = this._data, h = f.words, l = this._nDataBytes * 8, g = f.sigBytes * 8;
1904
+ h[g >>> 5] |= 128 << 24 - g % 32, h[(g + 128 >>> 10 << 5) + 30] = Math.floor(l / 4294967296), h[(g + 128 >>> 10 << 5) + 31] = l, f.sigBytes = h.length * 4, this._process();
1910
1905
  var i = this._hash.toX32();
1911
1906
  return i;
1912
1907
  },
1913
1908
  clone: function() {
1914
- var f = v.clone.call(this);
1909
+ var f = p.clone.call(this);
1915
1910
  return f._hash = this._hash.clone(), f;
1916
1911
  },
1917
1912
  blockSize: 1024 / 32
1918
1913
  });
1919
- e.SHA512 = v._createHelper(s), e.HmacSHA512 = v._createHmacHelper(s);
1914
+ e.SHA512 = p._createHelper(s), e.HmacSHA512 = p._createHmacHelper(s);
1920
1915
  })(), t.SHA512;
1921
1916
  });
1922
1917
  })(I0)), I0.exports;
1923
1918
  }
1924
1919
  var L0 = { exports: {} }, kt = L0.exports, Xr;
1925
1920
  function St() {
1926
- return Xr || (Xr = 1, (function(r, h) {
1927
- (function(t, e, d) {
1928
- r.exports = e(M(), ur(), we());
1921
+ return Xr || (Xr = 1, (function(r, v) {
1922
+ (function(t, e, u) {
1923
+ r.exports = e(M(), fr(), we());
1929
1924
  })(kt, function(t) {
1930
1925
  return (function() {
1931
- var e = t, d = e.x64, v = d.Word, b = d.WordArray, B = e.algo, C = B.SHA512, x = B.SHA384 = C.extend({
1926
+ var e = t, u = e.x64, p = u.Word, m = u.WordArray, B = e.algo, C = B.SHA512, x = B.SHA384 = C.extend({
1932
1927
  _doReset: function() {
1933
- this._hash = new b.init([
1934
- new v.init(3418070365, 3238371032),
1935
- new v.init(1654270250, 914150663),
1936
- new v.init(2438529370, 812702999),
1937
- new v.init(355462360, 4144912697),
1938
- new v.init(1731405415, 4290775857),
1939
- new v.init(2394180231, 1750603025),
1940
- new v.init(3675008525, 1694076839),
1941
- new v.init(1203062813, 3204075428)
1928
+ this._hash = new m.init([
1929
+ new p.init(3418070365, 3238371032),
1930
+ new p.init(1654270250, 914150663),
1931
+ new p.init(2438529370, 812702999),
1932
+ new p.init(355462360, 4144912697),
1933
+ new p.init(1731405415, 4290775857),
1934
+ new p.init(2394180231, 1750603025),
1935
+ new p.init(3675008525, 1694076839),
1936
+ new p.init(1203062813, 3204075428)
1942
1937
  ]);
1943
1938
  },
1944
1939
  _doFinalize: function() {
@@ -1953,30 +1948,30 @@ function St() {
1953
1948
  }
1954
1949
  var O0 = { exports: {} }, Ht = O0.exports, Yr;
1955
1950
  function $t() {
1956
- return Yr || (Yr = 1, (function(r, h) {
1957
- (function(t, e, d) {
1958
- r.exports = e(M(), ur());
1951
+ return Yr || (Yr = 1, (function(r, v) {
1952
+ (function(t, e, u) {
1953
+ r.exports = e(M(), fr());
1959
1954
  })(Ht, function(t) {
1960
1955
  return (function(e) {
1961
- var d = t, v = d.lib, b = v.WordArray, B = v.Hasher, C = d.x64, x = C.Word, n = d.algo, E = [], a = [], s = [];
1956
+ var u = t, p = u.lib, m = p.WordArray, B = p.Hasher, C = u.x64, x = C.Word, n = u.algo, E = [], a = [], s = [];
1962
1957
  (function() {
1963
- for (var l = 1, D = 0, i = 0; i < 24; i++) {
1964
- E[l + 5 * D] = (i + 1) * (i + 2) / 2 % 64;
1965
- var o = D % 5, u = (2 * l + 3 * D) % 5;
1966
- l = o, D = u;
1958
+ for (var l = 1, g = 0, i = 0; i < 24; i++) {
1959
+ E[l + 5 * g] = (i + 1) * (i + 2) / 2 % 64;
1960
+ var o = g % 5, d = (2 * l + 3 * g) % 5;
1961
+ l = o, g = d;
1967
1962
  }
1968
1963
  for (var l = 0; l < 5; l++)
1969
- for (var D = 0; D < 5; D++)
1970
- a[l + 5 * D] = D + (2 * l + 3 * D) % 5 * 5;
1971
- for (var m = 1, g = 0; g < 24; g++) {
1964
+ for (var g = 0; g < 5; g++)
1965
+ a[l + 5 * g] = g + (2 * l + 3 * g) % 5 * 5;
1966
+ for (var b = 1, D = 0; D < 24; D++) {
1972
1967
  for (var y = 0, k = 0, R = 0; R < 7; R++) {
1973
- if (m & 1) {
1968
+ if (b & 1) {
1974
1969
  var F = (1 << R) - 1;
1975
1970
  F < 32 ? k ^= 1 << F : y ^= 1 << F - 32;
1976
1971
  }
1977
- m & 128 ? m = m << 1 ^ 113 : m <<= 1;
1972
+ b & 128 ? b = b << 1 ^ 113 : b <<= 1;
1978
1973
  }
1979
- s[g] = x.create(y, k);
1974
+ s[D] = x.create(y, k);
1980
1975
  }
1981
1976
  })();
1982
1977
  var f = [];
@@ -1984,7 +1979,7 @@ function $t() {
1984
1979
  for (var l = 0; l < 25; l++)
1985
1980
  f[l] = x.create();
1986
1981
  })();
1987
- var p = n.SHA3 = B.extend({
1982
+ var h = n.SHA3 = B.extend({
1988
1983
  /**
1989
1984
  * Configuration options.
1990
1985
  *
@@ -1997,16 +1992,16 @@ function $t() {
1997
1992
  outputLength: 512
1998
1993
  }),
1999
1994
  _doReset: function() {
2000
- for (var l = this._state = [], D = 0; D < 25; D++)
2001
- l[D] = new x.init();
1995
+ for (var l = this._state = [], g = 0; g < 25; g++)
1996
+ l[g] = new x.init();
2002
1997
  this.blockSize = (1600 - 2 * this.cfg.outputLength) / 32;
2003
1998
  },
2004
- _doProcessBlock: function(l, D) {
2005
- for (var i = this._state, o = this.blockSize / 2, u = 0; u < o; u++) {
2006
- var m = l[D + 2 * u], g = l[D + 2 * u + 1];
2007
- m = (m << 8 | m >>> 24) & 16711935 | (m << 24 | m >>> 8) & 4278255360, g = (g << 8 | g >>> 24) & 16711935 | (g << 24 | g >>> 8) & 4278255360;
2008
- var y = i[u];
2009
- y.high ^= g, y.low ^= m;
1999
+ _doProcessBlock: function(l, g) {
2000
+ for (var i = this._state, o = this.blockSize / 2, d = 0; d < o; d++) {
2001
+ var b = l[g + 2 * d], D = l[g + 2 * d + 1];
2002
+ b = (b << 8 | b >>> 24) & 16711935 | (b << 24 | b >>> 8) & 4278255360, D = (D << 8 | D >>> 24) & 16711935 | (D << 24 | D >>> 8) & 4278255360;
2003
+ var y = i[d];
2004
+ y.high ^= D, y.low ^= b;
2010
2005
  }
2011
2006
  for (var k = 0; k < 24; k++) {
2012
2007
  for (var R = 0; R < 5; R++) {
@@ -2040,35 +2035,35 @@ function $t() {
2040
2035
  }
2041
2036
  },
2042
2037
  _doFinalize: function() {
2043
- var l = this._data, D = l.words;
2038
+ var l = this._data, g = l.words;
2044
2039
  this._nDataBytes * 8;
2045
2040
  var i = l.sigBytes * 8, o = this.blockSize * 32;
2046
- D[i >>> 5] |= 1 << 24 - i % 32, D[(e.ceil((i + 1) / o) * o >>> 5) - 1] |= 128, l.sigBytes = D.length * 4, this._process();
2047
- for (var u = this._state, m = this.cfg.outputLength / 8, g = m / 8, y = [], k = 0; k < g; k++) {
2048
- var R = u[k], F = R.high, w = R.low;
2041
+ g[i >>> 5] |= 1 << 24 - i % 32, g[(e.ceil((i + 1) / o) * o >>> 5) - 1] |= 128, l.sigBytes = g.length * 4, this._process();
2042
+ for (var d = this._state, b = this.cfg.outputLength / 8, D = b / 8, y = [], k = 0; k < D; k++) {
2043
+ var R = d[k], F = R.high, w = R.low;
2049
2044
  F = (F << 8 | F >>> 24) & 16711935 | (F << 24 | F >>> 8) & 4278255360, w = (w << 8 | w >>> 24) & 16711935 | (w << 24 | w >>> 8) & 4278255360, y.push(w), y.push(F);
2050
2045
  }
2051
- return new b.init(y, m);
2046
+ return new m.init(y, b);
2052
2047
  },
2053
2048
  clone: function() {
2054
- for (var l = B.clone.call(this), D = l._state = this._state.slice(0), i = 0; i < 25; i++)
2055
- D[i] = D[i].clone();
2049
+ for (var l = B.clone.call(this), g = l._state = this._state.slice(0), i = 0; i < 25; i++)
2050
+ g[i] = g[i].clone();
2056
2051
  return l;
2057
2052
  }
2058
2053
  });
2059
- d.SHA3 = B._createHelper(p), d.HmacSHA3 = B._createHmacHelper(p);
2054
+ u.SHA3 = B._createHelper(h), u.HmacSHA3 = B._createHmacHelper(h);
2060
2055
  })(Math), t.SHA3;
2061
2056
  });
2062
2057
  })(O0)), O0.exports;
2063
2058
  }
2064
2059
  var q0 = { exports: {} }, Rt = q0.exports, Zr;
2065
2060
  function Pt() {
2066
- return Zr || (Zr = 1, (function(r, h) {
2061
+ return Zr || (Zr = 1, (function(r, v) {
2067
2062
  (function(t, e) {
2068
2063
  r.exports = e(M());
2069
2064
  })(Rt, function(t) {
2070
2065
  return (function(e) {
2071
- var d = t, v = d.lib, b = v.WordArray, B = v.Hasher, C = d.algo, x = b.create([
2066
+ var u = t, p = u.lib, m = p.WordArray, B = p.Hasher, C = u.algo, x = m.create([
2072
2067
  0,
2073
2068
  1,
2074
2069
  2,
@@ -2149,7 +2144,7 @@ function Pt() {
2149
2144
  6,
2150
2145
  15,
2151
2146
  13
2152
- ]), n = b.create([
2147
+ ]), n = m.create([
2153
2148
  5,
2154
2149
  14,
2155
2150
  7,
@@ -2230,7 +2225,7 @@ function Pt() {
2230
2225
  3,
2231
2226
  9,
2232
2227
  11
2233
- ]), E = b.create([
2228
+ ]), E = m.create([
2234
2229
  11,
2235
2230
  14,
2236
2231
  15,
@@ -2311,7 +2306,7 @@ function Pt() {
2311
2306
  8,
2312
2307
  5,
2313
2308
  6
2314
- ]), a = b.create([
2309
+ ]), a = m.create([
2315
2310
  8,
2316
2311
  9,
2317
2312
  9,
@@ -2392,24 +2387,24 @@ function Pt() {
2392
2387
  13,
2393
2388
  11,
2394
2389
  11
2395
- ]), s = b.create([0, 1518500249, 1859775393, 2400959708, 2840853838]), f = b.create([1352829926, 1548603684, 1836072691, 2053994217, 0]), p = C.RIPEMD160 = B.extend({
2390
+ ]), s = m.create([0, 1518500249, 1859775393, 2400959708, 2840853838]), f = m.create([1352829926, 1548603684, 1836072691, 2053994217, 0]), h = C.RIPEMD160 = B.extend({
2396
2391
  _doReset: function() {
2397
- this._hash = b.create([1732584193, 4023233417, 2562383102, 271733878, 3285377520]);
2392
+ this._hash = m.create([1732584193, 4023233417, 2562383102, 271733878, 3285377520]);
2398
2393
  },
2399
- _doProcessBlock: function(g, y) {
2394
+ _doProcessBlock: function(D, y) {
2400
2395
  for (var k = 0; k < 16; k++) {
2401
- var R = y + k, F = g[R];
2402
- g[R] = (F << 8 | F >>> 24) & 16711935 | (F << 24 | F >>> 8) & 4278255360;
2396
+ var R = y + k, F = D[R];
2397
+ D[R] = (F << 8 | F >>> 24) & 16711935 | (F << 24 | F >>> 8) & 4278255360;
2403
2398
  }
2404
2399
  var w = this._hash.words, H = s.words, $ = f.words, W = x.words, O = n.words, q = E.words, U = a.words, T, N, j, S, c, A, _, z, P, L;
2405
2400
  A = T = w[0], _ = N = w[1], z = j = w[2], P = S = w[3], L = c = w[4];
2406
2401
  for (var I, k = 0; k < 80; k += 1)
2407
- I = T + g[y + W[k]] | 0, k < 16 ? I += l(N, j, S) + H[0] : k < 32 ? I += D(N, j, S) + H[1] : k < 48 ? I += i(N, j, S) + H[2] : k < 64 ? I += o(N, j, S) + H[3] : I += u(N, j, S) + H[4], I = I | 0, I = m(I, q[k]), I = I + c | 0, T = c, c = S, S = m(j, 10), j = N, N = I, I = A + g[y + O[k]] | 0, k < 16 ? I += u(_, z, P) + $[0] : k < 32 ? I += o(_, z, P) + $[1] : k < 48 ? I += i(_, z, P) + $[2] : k < 64 ? I += D(_, z, P) + $[3] : I += l(_, z, P) + $[4], I = I | 0, I = m(I, U[k]), I = I + L | 0, A = L, L = P, P = m(z, 10), z = _, _ = I;
2402
+ I = T + D[y + W[k]] | 0, k < 16 ? I += l(N, j, S) + H[0] : k < 32 ? I += g(N, j, S) + H[1] : k < 48 ? I += i(N, j, S) + H[2] : k < 64 ? I += o(N, j, S) + H[3] : I += d(N, j, S) + H[4], I = I | 0, I = b(I, q[k]), I = I + c | 0, T = c, c = S, S = b(j, 10), j = N, N = I, I = A + D[y + O[k]] | 0, k < 16 ? I += d(_, z, P) + $[0] : k < 32 ? I += o(_, z, P) + $[1] : k < 48 ? I += i(_, z, P) + $[2] : k < 64 ? I += g(_, z, P) + $[3] : I += l(_, z, P) + $[4], I = I | 0, I = b(I, U[k]), I = I + L | 0, A = L, L = P, P = b(z, 10), z = _, _ = I;
2408
2403
  I = w[1] + j + P | 0, w[1] = w[2] + S + L | 0, w[2] = w[3] + c + A | 0, w[3] = w[4] + T + _ | 0, w[4] = w[0] + N + z | 0, w[0] = I;
2409
2404
  },
2410
2405
  _doFinalize: function() {
2411
- var g = this._data, y = g.words, k = this._nDataBytes * 8, R = g.sigBytes * 8;
2412
- y[R >>> 5] |= 128 << 24 - R % 32, y[(R + 64 >>> 9 << 4) + 14] = (k << 8 | k >>> 24) & 16711935 | (k << 24 | k >>> 8) & 4278255360, g.sigBytes = (y.length + 1) * 4, this._process();
2406
+ var D = this._data, y = D.words, k = this._nDataBytes * 8, R = D.sigBytes * 8;
2407
+ y[R >>> 5] |= 128 << 24 - R % 32, y[(R + 64 >>> 9 << 4) + 14] = (k << 8 | k >>> 24) & 16711935 | (k << 24 | k >>> 8) & 4278255360, D.sigBytes = (y.length + 1) * 4, this._process();
2413
2408
  for (var F = this._hash, w = F.words, H = 0; H < 5; H++) {
2414
2409
  var $ = w[H];
2415
2410
  w[H] = ($ << 8 | $ >>> 24) & 16711935 | ($ << 24 | $ >>> 8) & 4278255360;
@@ -2417,42 +2412,42 @@ function Pt() {
2417
2412
  return F;
2418
2413
  },
2419
2414
  clone: function() {
2420
- var g = B.clone.call(this);
2421
- return g._hash = this._hash.clone(), g;
2415
+ var D = B.clone.call(this);
2416
+ return D._hash = this._hash.clone(), D;
2422
2417
  }
2423
2418
  });
2424
- function l(g, y, k) {
2425
- return g ^ y ^ k;
2419
+ function l(D, y, k) {
2420
+ return D ^ y ^ k;
2426
2421
  }
2427
- function D(g, y, k) {
2428
- return g & y | ~g & k;
2422
+ function g(D, y, k) {
2423
+ return D & y | ~D & k;
2429
2424
  }
2430
- function i(g, y, k) {
2431
- return (g | ~y) ^ k;
2425
+ function i(D, y, k) {
2426
+ return (D | ~y) ^ k;
2432
2427
  }
2433
- function o(g, y, k) {
2434
- return g & k | y & ~k;
2428
+ function o(D, y, k) {
2429
+ return D & k | y & ~k;
2435
2430
  }
2436
- function u(g, y, k) {
2437
- return g ^ (y | ~k);
2431
+ function d(D, y, k) {
2432
+ return D ^ (y | ~k);
2438
2433
  }
2439
- function m(g, y) {
2440
- return g << y | g >>> 32 - y;
2434
+ function b(D, y) {
2435
+ return D << y | D >>> 32 - y;
2441
2436
  }
2442
- d.RIPEMD160 = B._createHelper(p), d.HmacRIPEMD160 = B._createHmacHelper(p);
2437
+ u.RIPEMD160 = B._createHelper(h), u.HmacRIPEMD160 = B._createHmacHelper(h);
2443
2438
  })(), t.RIPEMD160;
2444
2439
  });
2445
2440
  })(q0)), q0.exports;
2446
2441
  }
2447
2442
  var T0 = { exports: {} }, Wt = T0.exports, Qr;
2448
2443
  function Ar() {
2449
- return Qr || (Qr = 1, (function(r, h) {
2444
+ return Qr || (Qr = 1, (function(r, v) {
2450
2445
  (function(t, e) {
2451
2446
  r.exports = e(M());
2452
2447
  })(Wt, function(t) {
2453
2448
  (function() {
2454
- var e = t, d = e.lib, v = d.Base, b = e.enc, B = b.Utf8, C = e.algo;
2455
- C.HMAC = v.extend({
2449
+ var e = t, u = e.lib, p = u.Base, m = e.enc, B = m.Utf8, C = e.algo;
2450
+ C.HMAC = p.extend({
2456
2451
  /**
2457
2452
  * Initializes a newly created HMAC.
2458
2453
  *
@@ -2467,8 +2462,8 @@ function Ar() {
2467
2462
  x = this._hasher = new x.init(), typeof n == "string" && (n = B.parse(n));
2468
2463
  var E = x.blockSize, a = E * 4;
2469
2464
  n.sigBytes > a && (n = x.finalize(n)), n.clamp();
2470
- for (var s = this._oKey = n.clone(), f = this._iKey = n.clone(), p = s.words, l = f.words, D = 0; D < E; D++)
2471
- p[D] ^= 1549556828, l[D] ^= 909522486;
2465
+ for (var s = this._oKey = n.clone(), f = this._iKey = n.clone(), h = s.words, l = f.words, g = 0; g < E; g++)
2466
+ h[g] ^= 1549556828, l[g] ^= 909522486;
2472
2467
  s.sigBytes = f.sigBytes = a, this.reset();
2473
2468
  },
2474
2469
  /**
@@ -2524,12 +2519,12 @@ function Ar() {
2524
2519
  }
2525
2520
  var M0 = { exports: {} }, zt = M0.exports, Vr;
2526
2521
  function It() {
2527
- return Vr || (Vr = 1, (function(r, h) {
2528
- (function(t, e, d) {
2522
+ return Vr || (Vr = 1, (function(r, v) {
2523
+ (function(t, e, u) {
2529
2524
  r.exports = e(M(), Er(), Ar());
2530
2525
  })(zt, function(t) {
2531
2526
  return (function() {
2532
- var e = t, d = e.lib, v = d.Base, b = d.WordArray, B = e.algo, C = B.SHA256, x = B.HMAC, n = B.PBKDF2 = v.extend({
2527
+ var e = t, u = e.lib, p = u.Base, m = u.WordArray, B = e.algo, C = B.SHA256, x = B.HMAC, n = B.PBKDF2 = p.extend({
2533
2528
  /**
2534
2529
  * Configuration options.
2535
2530
  *
@@ -2537,7 +2532,7 @@ function It() {
2537
2532
  * @property {Hasher} hasher The hasher to use. Default: SHA256
2538
2533
  * @property {number} iterations The number of iterations to perform. Default: 250000
2539
2534
  */
2540
- cfg: v.extend({
2535
+ cfg: p.extend({
2541
2536
  keySize: 128 / 32,
2542
2537
  hasher: C,
2543
2538
  iterations: 25e4
@@ -2569,17 +2564,17 @@ function It() {
2569
2564
  * var key = kdf.compute(password, salt);
2570
2565
  */
2571
2566
  compute: function(E, a) {
2572
- for (var s = this.cfg, f = x.create(s.hasher, E), p = b.create(), l = b.create([1]), D = p.words, i = l.words, o = s.keySize, u = s.iterations; D.length < o; ) {
2573
- var m = f.update(a).finalize(l);
2567
+ for (var s = this.cfg, f = x.create(s.hasher, E), h = m.create(), l = m.create([1]), g = h.words, i = l.words, o = s.keySize, d = s.iterations; g.length < o; ) {
2568
+ var b = f.update(a).finalize(l);
2574
2569
  f.reset();
2575
- for (var g = m.words, y = g.length, k = m, R = 1; R < u; R++) {
2570
+ for (var D = b.words, y = D.length, k = b, R = 1; R < d; R++) {
2576
2571
  k = f.finalize(k), f.reset();
2577
2572
  for (var F = k.words, w = 0; w < y; w++)
2578
- g[w] ^= F[w];
2573
+ D[w] ^= F[w];
2579
2574
  }
2580
- p.concat(m), i[0]++;
2575
+ h.concat(b), i[0]++;
2581
2576
  }
2582
- return p.sigBytes = o * 4, p;
2577
+ return h.sigBytes = o * 4, h;
2583
2578
  }
2584
2579
  });
2585
2580
  e.PBKDF2 = function(E, a, s) {
@@ -2591,12 +2586,12 @@ function It() {
2591
2586
  }
2592
2587
  var N0 = { exports: {} }, Lt = N0.exports, Jr;
2593
2588
  function a0() {
2594
- return Jr || (Jr = 1, (function(r, h) {
2595
- (function(t, e, d) {
2589
+ return Jr || (Jr = 1, (function(r, v) {
2590
+ (function(t, e, u) {
2596
2591
  r.exports = e(M(), ye(), Ar());
2597
2592
  })(Lt, function(t) {
2598
2593
  return (function() {
2599
- var e = t, d = e.lib, v = d.Base, b = d.WordArray, B = e.algo, C = B.MD5, x = B.EvpKDF = v.extend({
2594
+ var e = t, u = e.lib, p = u.Base, m = u.WordArray, B = e.algo, C = B.MD5, x = B.EvpKDF = p.extend({
2600
2595
  /**
2601
2596
  * Configuration options.
2602
2597
  *
@@ -2604,7 +2599,7 @@ function a0() {
2604
2599
  * @property {Hasher} hasher The hash algorithm to use. Default: MD5
2605
2600
  * @property {number} iterations The number of iterations to perform. Default: 1
2606
2601
  */
2607
- cfg: v.extend({
2602
+ cfg: p.extend({
2608
2603
  keySize: 128 / 32,
2609
2604
  hasher: C,
2610
2605
  iterations: 1
@@ -2636,13 +2631,13 @@ function a0() {
2636
2631
  * var key = kdf.compute(password, salt);
2637
2632
  */
2638
2633
  compute: function(n, E) {
2639
- for (var a, s = this.cfg, f = s.hasher.create(), p = b.create(), l = p.words, D = s.keySize, i = s.iterations; l.length < D; ) {
2634
+ for (var a, s = this.cfg, f = s.hasher.create(), h = m.create(), l = h.words, g = s.keySize, i = s.iterations; l.length < g; ) {
2640
2635
  a && f.update(a), a = f.update(n).finalize(E), f.reset();
2641
2636
  for (var o = 1; o < i; o++)
2642
2637
  a = f.finalize(a), f.reset();
2643
- p.concat(a);
2638
+ h.concat(a);
2644
2639
  }
2645
- return p.sigBytes = D * 4, p;
2640
+ return h.sigBytes = g * 4, h;
2646
2641
  }
2647
2642
  });
2648
2643
  e.EvpKDF = function(n, E, a) {
@@ -2654,20 +2649,20 @@ function a0() {
2654
2649
  }
2655
2650
  var U0 = { exports: {} }, Ot = U0.exports, re;
2656
2651
  function X() {
2657
- return re || (re = 1, (function(r, h) {
2658
- (function(t, e, d) {
2652
+ return re || (re = 1, (function(r, v) {
2653
+ (function(t, e, u) {
2659
2654
  r.exports = e(M(), a0());
2660
2655
  })(Ot, function(t) {
2661
2656
  t.lib.Cipher || (function(e) {
2662
- var d = t, v = d.lib, b = v.Base, B = v.WordArray, C = v.BufferedBlockAlgorithm, x = d.enc;
2657
+ var u = t, p = u.lib, m = p.Base, B = p.WordArray, C = p.BufferedBlockAlgorithm, x = u.enc;
2663
2658
  x.Utf8;
2664
- var n = x.Base64, E = d.algo, a = E.EvpKDF, s = v.Cipher = C.extend({
2659
+ var n = x.Base64, E = u.algo, a = E.EvpKDF, s = p.Cipher = C.extend({
2665
2660
  /**
2666
2661
  * Configuration options.
2667
2662
  *
2668
2663
  * @property {WordArray} iv The IV to use for this operation.
2669
2664
  */
2670
- cfg: b.extend(),
2665
+ cfg: m.extend(),
2671
2666
  /**
2672
2667
  * Creates this cipher in encryption mode.
2673
2668
  *
@@ -2779,7 +2774,7 @@ function X() {
2779
2774
  */
2780
2775
  _createHelper: /* @__PURE__ */ (function() {
2781
2776
  function F(w) {
2782
- return typeof w == "string" ? R : g;
2777
+ return typeof w == "string" ? R : D;
2783
2778
  }
2784
2779
  return function(w) {
2785
2780
  return {
@@ -2793,14 +2788,14 @@ function X() {
2793
2788
  };
2794
2789
  })()
2795
2790
  });
2796
- v.StreamCipher = s.extend({
2791
+ p.StreamCipher = s.extend({
2797
2792
  _doFinalize: function() {
2798
2793
  var F = this._process(!0);
2799
2794
  return F;
2800
2795
  },
2801
2796
  blockSize: 1
2802
2797
  });
2803
- var f = d.mode = {}, p = v.BlockCipherMode = b.extend({
2798
+ var f = u.mode = {}, h = p.BlockCipherMode = m.extend({
2804
2799
  /**
2805
2800
  * Creates this mode for encryption.
2806
2801
  *
@@ -2845,7 +2840,7 @@ function X() {
2845
2840
  this._cipher = F, this._iv = w;
2846
2841
  }
2847
2842
  }), l = f.CBC = (function() {
2848
- var F = p.extend();
2843
+ var F = h.extend();
2849
2844
  F.Encryptor = F.extend({
2850
2845
  /**
2851
2846
  * Processes the data block at offset.
@@ -2884,7 +2879,7 @@ function X() {
2884
2879
  H[$ + U] ^= O[U];
2885
2880
  }
2886
2881
  return F;
2887
- })(), D = d.pad = {}, i = D.Pkcs7 = {
2882
+ })(), g = u.pad = {}, i = g.Pkcs7 = {
2888
2883
  /**
2889
2884
  * Pads data using the algorithm defined in PKCS #5/7.
2890
2885
  *
@@ -2919,7 +2914,7 @@ function X() {
2919
2914
  F.sigBytes -= w;
2920
2915
  }
2921
2916
  };
2922
- v.BlockCipher = s.extend({
2917
+ p.BlockCipher = s.extend({
2923
2918
  /**
2924
2919
  * Configuration options.
2925
2920
  *
@@ -2945,7 +2940,7 @@ function X() {
2945
2940
  },
2946
2941
  blockSize: 128 / 32
2947
2942
  });
2948
- var o = v.CipherParams = b.extend({
2943
+ var o = p.CipherParams = m.extend({
2949
2944
  /**
2950
2945
  * Initializes a newly created cipher params object.
2951
2946
  *
@@ -2986,7 +2981,7 @@ function X() {
2986
2981
  toString: function(F) {
2987
2982
  return (F || this.formatter).stringify(this);
2988
2983
  }
2989
- }), u = d.format = {}, m = u.OpenSSL = {
2984
+ }), d = u.format = {}, b = d.OpenSSL = {
2990
2985
  /**
2991
2986
  * Converts a cipher params object to an OpenSSL-compatible string.
2992
2987
  *
@@ -3021,14 +3016,14 @@ function X() {
3021
3016
  var w, H = n.parse(F), $ = H.words;
3022
3017
  return $[0] == 1398893684 && $[1] == 1701076831 && (w = B.create($.slice(2, 4)), $.splice(0, 4), H.sigBytes -= 16), o.create({ ciphertext: H, salt: w });
3023
3018
  }
3024
- }, g = v.SerializableCipher = b.extend({
3019
+ }, D = p.SerializableCipher = m.extend({
3025
3020
  /**
3026
3021
  * Configuration options.
3027
3022
  *
3028
3023
  * @property {Formatter} format The formatting strategy to convert cipher param objects to and from a string. Default: OpenSSL
3029
3024
  */
3030
- cfg: b.extend({
3031
- format: m
3025
+ cfg: m.extend({
3026
+ format: b
3032
3027
  }),
3033
3028
  /**
3034
3029
  * Encrypts a message.
@@ -3102,7 +3097,7 @@ function X() {
3102
3097
  _parse: function(F, w) {
3103
3098
  return typeof F == "string" ? w.parse(F, this) : F;
3104
3099
  }
3105
- }), y = d.kdf = {}, k = y.OpenSSL = {
3100
+ }), y = u.kdf = {}, k = y.OpenSSL = {
3106
3101
  /**
3107
3102
  * Derives a key and IV from a password.
3108
3103
  *
@@ -3128,13 +3123,13 @@ function X() {
3128
3123
  var q = B.create(O.words.slice(w), H * 4);
3129
3124
  return O.sigBytes = w * 4, o.create({ key: O, iv: q, salt: $ });
3130
3125
  }
3131
- }, R = v.PasswordBasedCipher = g.extend({
3126
+ }, R = p.PasswordBasedCipher = D.extend({
3132
3127
  /**
3133
3128
  * Configuration options.
3134
3129
  *
3135
3130
  * @property {KDF} kdf The key derivation function to use to generate a key and IV from a password. Default: OpenSSL
3136
3131
  */
3137
- cfg: g.cfg.extend({
3132
+ cfg: D.cfg.extend({
3138
3133
  kdf: k
3139
3134
  }),
3140
3135
  /**
@@ -3158,7 +3153,7 @@ function X() {
3158
3153
  $ = this.cfg.extend($);
3159
3154
  var W = $.kdf.execute(H, F.keySize, F.ivSize, $.salt, $.hasher);
3160
3155
  $.iv = W.iv;
3161
- var O = g.encrypt.call(this, F, w, W.key, $);
3156
+ var O = D.encrypt.call(this, F, w, W.key, $);
3162
3157
  return O.mixIn(W), O;
3163
3158
  },
3164
3159
  /**
@@ -3182,7 +3177,7 @@ function X() {
3182
3177
  $ = this.cfg.extend($), w = this._parse(w, $.format);
3183
3178
  var W = $.kdf.execute(H, F.keySize, F.ivSize, w.salt, $.hasher);
3184
3179
  $.iv = W.iv;
3185
- var O = g.decrypt.call(this, F, w, W.key, $);
3180
+ var O = D.decrypt.call(this, F, w, W.key, $);
3186
3181
  return O;
3187
3182
  }
3188
3183
  });
@@ -3192,28 +3187,28 @@ function X() {
3192
3187
  }
3193
3188
  var j0 = { exports: {} }, qt = j0.exports, ee;
3194
3189
  function Tt() {
3195
- return ee || (ee = 1, (function(r, h) {
3196
- (function(t, e, d) {
3190
+ return ee || (ee = 1, (function(r, v) {
3191
+ (function(t, e, u) {
3197
3192
  r.exports = e(M(), X());
3198
3193
  })(qt, function(t) {
3199
3194
  return t.mode.CFB = (function() {
3200
3195
  var e = t.lib.BlockCipherMode.extend();
3201
3196
  e.Encryptor = e.extend({
3202
- processBlock: function(v, b) {
3197
+ processBlock: function(p, m) {
3203
3198
  var B = this._cipher, C = B.blockSize;
3204
- d.call(this, v, b, C, B), this._prevBlock = v.slice(b, b + C);
3199
+ u.call(this, p, m, C, B), this._prevBlock = p.slice(m, m + C);
3205
3200
  }
3206
3201
  }), e.Decryptor = e.extend({
3207
- processBlock: function(v, b) {
3208
- var B = this._cipher, C = B.blockSize, x = v.slice(b, b + C);
3209
- d.call(this, v, b, C, B), this._prevBlock = x;
3202
+ processBlock: function(p, m) {
3203
+ var B = this._cipher, C = B.blockSize, x = p.slice(m, m + C);
3204
+ u.call(this, p, m, C, B), this._prevBlock = x;
3210
3205
  }
3211
3206
  });
3212
- function d(v, b, B, C) {
3207
+ function u(p, m, B, C) {
3213
3208
  var x, n = this._iv;
3214
3209
  n ? (x = n.slice(0), this._iv = void 0) : x = this._prevBlock, C.encryptBlock(x, 0);
3215
3210
  for (var E = 0; E < B; E++)
3216
- v[b + E] ^= x[E];
3211
+ p[m + E] ^= x[E];
3217
3212
  }
3218
3213
  return e;
3219
3214
  })(), t.mode.CFB;
@@ -3222,35 +3217,35 @@ function Tt() {
3222
3217
  }
3223
3218
  var G0 = { exports: {} }, Mt = G0.exports, te;
3224
3219
  function Nt() {
3225
- return te || (te = 1, (function(r, h) {
3226
- (function(t, e, d) {
3220
+ return te || (te = 1, (function(r, v) {
3221
+ (function(t, e, u) {
3227
3222
  r.exports = e(M(), X());
3228
3223
  })(Mt, function(t) {
3229
3224
  return t.mode.CTR = (function() {
3230
- var e = t.lib.BlockCipherMode.extend(), d = e.Encryptor = e.extend({
3231
- processBlock: function(v, b) {
3225
+ var e = t.lib.BlockCipherMode.extend(), u = e.Encryptor = e.extend({
3226
+ processBlock: function(p, m) {
3232
3227
  var B = this._cipher, C = B.blockSize, x = this._iv, n = this._counter;
3233
3228
  x && (n = this._counter = x.slice(0), this._iv = void 0);
3234
3229
  var E = n.slice(0);
3235
3230
  B.encryptBlock(E, 0), n[C - 1] = n[C - 1] + 1 | 0;
3236
3231
  for (var a = 0; a < C; a++)
3237
- v[b + a] ^= E[a];
3232
+ p[m + a] ^= E[a];
3238
3233
  }
3239
3234
  });
3240
- return e.Decryptor = d, e;
3235
+ return e.Decryptor = u, e;
3241
3236
  })(), t.mode.CTR;
3242
3237
  });
3243
3238
  })(G0)), G0.exports;
3244
3239
  }
3245
3240
  var K0 = { exports: {} }, Ut = K0.exports, xe;
3246
3241
  function jt() {
3247
- return xe || (xe = 1, (function(r, h) {
3248
- (function(t, e, d) {
3242
+ return xe || (xe = 1, (function(r, v) {
3243
+ (function(t, e, u) {
3249
3244
  r.exports = e(M(), X());
3250
3245
  })(Ut, function(t) {
3251
3246
  return t.mode.CTRGladman = (function() {
3252
3247
  var e = t.lib.BlockCipherMode.extend();
3253
- function d(B) {
3248
+ function u(B) {
3254
3249
  if ((B >> 24 & 255) === 255) {
3255
3250
  var C = B >> 16 & 255, x = B >> 8 & 255, n = B & 255;
3256
3251
  C === 255 ? (C = 0, x === 255 ? (x = 0, n === 255 ? n = 0 : ++n) : ++x) : ++C, B = 0, B += C << 16, B += x << 8, B += n;
@@ -3258,59 +3253,59 @@ function jt() {
3258
3253
  B += 1 << 24;
3259
3254
  return B;
3260
3255
  }
3261
- function v(B) {
3262
- return (B[0] = d(B[0])) === 0 && (B[1] = d(B[1])), B;
3256
+ function p(B) {
3257
+ return (B[0] = u(B[0])) === 0 && (B[1] = u(B[1])), B;
3263
3258
  }
3264
- var b = e.Encryptor = e.extend({
3259
+ var m = e.Encryptor = e.extend({
3265
3260
  processBlock: function(B, C) {
3266
3261
  var x = this._cipher, n = x.blockSize, E = this._iv, a = this._counter;
3267
- E && (a = this._counter = E.slice(0), this._iv = void 0), v(a);
3262
+ E && (a = this._counter = E.slice(0), this._iv = void 0), p(a);
3268
3263
  var s = a.slice(0);
3269
3264
  x.encryptBlock(s, 0);
3270
3265
  for (var f = 0; f < n; f++)
3271
3266
  B[C + f] ^= s[f];
3272
3267
  }
3273
3268
  });
3274
- return e.Decryptor = b, e;
3269
+ return e.Decryptor = m, e;
3275
3270
  })(), t.mode.CTRGladman;
3276
3271
  });
3277
3272
  })(K0)), K0.exports;
3278
3273
  }
3279
3274
  var X0 = { exports: {} }, Gt = X0.exports, ne;
3280
3275
  function Kt() {
3281
- return ne || (ne = 1, (function(r, h) {
3282
- (function(t, e, d) {
3276
+ return ne || (ne = 1, (function(r, v) {
3277
+ (function(t, e, u) {
3283
3278
  r.exports = e(M(), X());
3284
3279
  })(Gt, function(t) {
3285
3280
  return t.mode.OFB = (function() {
3286
- var e = t.lib.BlockCipherMode.extend(), d = e.Encryptor = e.extend({
3287
- processBlock: function(v, b) {
3281
+ var e = t.lib.BlockCipherMode.extend(), u = e.Encryptor = e.extend({
3282
+ processBlock: function(p, m) {
3288
3283
  var B = this._cipher, C = B.blockSize, x = this._iv, n = this._keystream;
3289
3284
  x && (n = this._keystream = x.slice(0), this._iv = void 0), B.encryptBlock(n, 0);
3290
3285
  for (var E = 0; E < C; E++)
3291
- v[b + E] ^= n[E];
3286
+ p[m + E] ^= n[E];
3292
3287
  }
3293
3288
  });
3294
- return e.Decryptor = d, e;
3289
+ return e.Decryptor = u, e;
3295
3290
  })(), t.mode.OFB;
3296
3291
  });
3297
3292
  })(X0)), X0.exports;
3298
3293
  }
3299
3294
  var Y0 = { exports: {} }, Xt = Y0.exports, ae;
3300
3295
  function Yt() {
3301
- return ae || (ae = 1, (function(r, h) {
3302
- (function(t, e, d) {
3296
+ return ae || (ae = 1, (function(r, v) {
3297
+ (function(t, e, u) {
3303
3298
  r.exports = e(M(), X());
3304
3299
  })(Xt, function(t) {
3305
3300
  return t.mode.ECB = (function() {
3306
3301
  var e = t.lib.BlockCipherMode.extend();
3307
3302
  return e.Encryptor = e.extend({
3308
- processBlock: function(d, v) {
3309
- this._cipher.encryptBlock(d, v);
3303
+ processBlock: function(u, p) {
3304
+ this._cipher.encryptBlock(u, p);
3310
3305
  }
3311
3306
  }), e.Decryptor = e.extend({
3312
- processBlock: function(d, v) {
3313
- this._cipher.decryptBlock(d, v);
3307
+ processBlock: function(u, p) {
3308
+ this._cipher.decryptBlock(u, p);
3314
3309
  }
3315
3310
  }), e;
3316
3311
  })(), t.mode.ECB;
@@ -3319,18 +3314,18 @@ function Yt() {
3319
3314
  }
3320
3315
  var Z0 = { exports: {} }, Zt = Z0.exports, oe;
3321
3316
  function Qt() {
3322
- return oe || (oe = 1, (function(r, h) {
3323
- (function(t, e, d) {
3317
+ return oe || (oe = 1, (function(r, v) {
3318
+ (function(t, e, u) {
3324
3319
  r.exports = e(M(), X());
3325
3320
  })(Zt, function(t) {
3326
3321
  return t.pad.AnsiX923 = {
3327
- pad: function(e, d) {
3328
- var v = e.sigBytes, b = d * 4, B = b - v % b, C = v + B - 1;
3322
+ pad: function(e, u) {
3323
+ var p = e.sigBytes, m = u * 4, B = m - p % m, C = p + B - 1;
3329
3324
  e.clamp(), e.words[C >>> 2] |= B << 24 - C % 4 * 8, e.sigBytes += B;
3330
3325
  },
3331
3326
  unpad: function(e) {
3332
- var d = e.words[e.sigBytes - 1 >>> 2] & 255;
3333
- e.sigBytes -= d;
3327
+ var u = e.words[e.sigBytes - 1 >>> 2] & 255;
3328
+ e.sigBytes -= u;
3334
3329
  }
3335
3330
  }, t.pad.Ansix923;
3336
3331
  });
@@ -3338,18 +3333,18 @@ function Qt() {
3338
3333
  }
3339
3334
  var Q0 = { exports: {} }, Vt = Q0.exports, ie;
3340
3335
  function Jt() {
3341
- return ie || (ie = 1, (function(r, h) {
3342
- (function(t, e, d) {
3336
+ return ie || (ie = 1, (function(r, v) {
3337
+ (function(t, e, u) {
3343
3338
  r.exports = e(M(), X());
3344
3339
  })(Vt, function(t) {
3345
3340
  return t.pad.Iso10126 = {
3346
- pad: function(e, d) {
3347
- var v = d * 4, b = v - e.sigBytes % v;
3348
- e.concat(t.lib.WordArray.random(b - 1)).concat(t.lib.WordArray.create([b << 24], 1));
3341
+ pad: function(e, u) {
3342
+ var p = u * 4, m = p - e.sigBytes % p;
3343
+ e.concat(t.lib.WordArray.random(m - 1)).concat(t.lib.WordArray.create([m << 24], 1));
3349
3344
  },
3350
3345
  unpad: function(e) {
3351
- var d = e.words[e.sigBytes - 1 >>> 2] & 255;
3352
- e.sigBytes -= d;
3346
+ var u = e.words[e.sigBytes - 1 >>> 2] & 255;
3347
+ e.sigBytes -= u;
3353
3348
  }
3354
3349
  }, t.pad.Iso10126;
3355
3350
  });
@@ -3357,13 +3352,13 @@ function Jt() {
3357
3352
  }
3358
3353
  var V0 = { exports: {} }, rx = V0.exports, se;
3359
3354
  function ex() {
3360
- return se || (se = 1, (function(r, h) {
3361
- (function(t, e, d) {
3355
+ return se || (se = 1, (function(r, v) {
3356
+ (function(t, e, u) {
3362
3357
  r.exports = e(M(), X());
3363
3358
  })(rx, function(t) {
3364
3359
  return t.pad.Iso97971 = {
3365
- pad: function(e, d) {
3366
- e.concat(t.lib.WordArray.create([2147483648], 1)), t.pad.ZeroPadding.pad(e, d);
3360
+ pad: function(e, u) {
3361
+ e.concat(t.lib.WordArray.create([2147483648], 1)), t.pad.ZeroPadding.pad(e, u);
3367
3362
  },
3368
3363
  unpad: function(e) {
3369
3364
  t.pad.ZeroPadding.unpad(e), e.sigBytes--;
@@ -3374,19 +3369,19 @@ function ex() {
3374
3369
  }
3375
3370
  var J0 = { exports: {} }, tx = J0.exports, ce;
3376
3371
  function xx() {
3377
- return ce || (ce = 1, (function(r, h) {
3378
- (function(t, e, d) {
3372
+ return ce || (ce = 1, (function(r, v) {
3373
+ (function(t, e, u) {
3379
3374
  r.exports = e(M(), X());
3380
3375
  })(tx, function(t) {
3381
3376
  return t.pad.ZeroPadding = {
3382
- pad: function(e, d) {
3383
- var v = d * 4;
3384
- e.clamp(), e.sigBytes += v - (e.sigBytes % v || v);
3377
+ pad: function(e, u) {
3378
+ var p = u * 4;
3379
+ e.clamp(), e.sigBytes += p - (e.sigBytes % p || p);
3385
3380
  },
3386
3381
  unpad: function(e) {
3387
- for (var d = e.words, v = e.sigBytes - 1, v = e.sigBytes - 1; v >= 0; v--)
3388
- if (d[v >>> 2] >>> 24 - v % 4 * 8 & 255) {
3389
- e.sigBytes = v + 1;
3382
+ for (var u = e.words, p = e.sigBytes - 1, p = e.sigBytes - 1; p >= 0; p--)
3383
+ if (u[p >>> 2] >>> 24 - p % 4 * 8 & 255) {
3384
+ e.sigBytes = p + 1;
3390
3385
  break;
3391
3386
  }
3392
3387
  }
@@ -3396,8 +3391,8 @@ function xx() {
3396
3391
  }
3397
3392
  var rr = { exports: {} }, nx = rr.exports, fe;
3398
3393
  function ax() {
3399
- return fe || (fe = 1, (function(r, h) {
3400
- (function(t, e, d) {
3394
+ return fe || (fe = 1, (function(r, v) {
3395
+ (function(t, e, u) {
3401
3396
  r.exports = e(M(), X());
3402
3397
  })(nx, function(t) {
3403
3398
  return t.pad.NoPadding = {
@@ -3411,12 +3406,12 @@ function ax() {
3411
3406
  }
3412
3407
  var er = { exports: {} }, ox = er.exports, ue;
3413
3408
  function ix() {
3414
- return ue || (ue = 1, (function(r, h) {
3415
- (function(t, e, d) {
3409
+ return ue || (ue = 1, (function(r, v) {
3410
+ (function(t, e, u) {
3416
3411
  r.exports = e(M(), X());
3417
3412
  })(ox, function(t) {
3418
3413
  return (function(e) {
3419
- var d = t, v = d.lib, b = v.CipherParams, B = d.enc, C = B.Hex, x = d.format;
3414
+ var u = t, p = u.lib, m = p.CipherParams, B = u.enc, C = B.Hex, x = u.format;
3420
3415
  x.Hex = {
3421
3416
  /**
3422
3417
  * Converts the ciphertext of a cipher params object to a hexadecimally encoded string.
@@ -3449,7 +3444,7 @@ function ix() {
3449
3444
  */
3450
3445
  parse: function(n) {
3451
3446
  var E = C.parse(n);
3452
- return b.create({ ciphertext: E });
3447
+ return m.create({ ciphertext: E });
3453
3448
  }
3454
3449
  };
3455
3450
  })(), t.format.Hex;
@@ -3458,72 +3453,72 @@ function ix() {
3458
3453
  }
3459
3454
  var tr = { exports: {} }, sx = tr.exports, de;
3460
3455
  function cx() {
3461
- return de || (de = 1, (function(r, h) {
3462
- (function(t, e, d) {
3456
+ return de || (de = 1, (function(r, v) {
3457
+ (function(t, e, u) {
3463
3458
  r.exports = e(M(), i0(), s0(), a0(), X());
3464
3459
  })(sx, function(t) {
3465
3460
  return (function() {
3466
- var e = t, d = e.lib, v = d.BlockCipher, b = e.algo, B = [], C = [], x = [], n = [], E = [], a = [], s = [], f = [], p = [], l = [];
3461
+ var e = t, u = e.lib, p = u.BlockCipher, m = e.algo, B = [], C = [], x = [], n = [], E = [], a = [], s = [], f = [], h = [], l = [];
3467
3462
  (function() {
3468
- for (var o = [], u = 0; u < 256; u++)
3469
- u < 128 ? o[u] = u << 1 : o[u] = u << 1 ^ 283;
3470
- for (var m = 0, g = 0, u = 0; u < 256; u++) {
3471
- var y = g ^ g << 1 ^ g << 2 ^ g << 3 ^ g << 4;
3472
- y = y >>> 8 ^ y & 255 ^ 99, B[m] = y, C[y] = m;
3473
- var k = o[m], R = o[k], F = o[R], w = o[y] * 257 ^ y * 16843008;
3474
- x[m] = w << 24 | w >>> 8, n[m] = w << 16 | w >>> 16, E[m] = w << 8 | w >>> 24, a[m] = w;
3475
- var w = F * 16843009 ^ R * 65537 ^ k * 257 ^ m * 16843008;
3476
- s[y] = w << 24 | w >>> 8, f[y] = w << 16 | w >>> 16, p[y] = w << 8 | w >>> 24, l[y] = w, m ? (m = k ^ o[o[o[F ^ k]]], g ^= o[o[g]]) : m = g = 1;
3463
+ for (var o = [], d = 0; d < 256; d++)
3464
+ d < 128 ? o[d] = d << 1 : o[d] = d << 1 ^ 283;
3465
+ for (var b = 0, D = 0, d = 0; d < 256; d++) {
3466
+ var y = D ^ D << 1 ^ D << 2 ^ D << 3 ^ D << 4;
3467
+ y = y >>> 8 ^ y & 255 ^ 99, B[b] = y, C[y] = b;
3468
+ var k = o[b], R = o[k], F = o[R], w = o[y] * 257 ^ y * 16843008;
3469
+ x[b] = w << 24 | w >>> 8, n[b] = w << 16 | w >>> 16, E[b] = w << 8 | w >>> 24, a[b] = w;
3470
+ var w = F * 16843009 ^ R * 65537 ^ k * 257 ^ b * 16843008;
3471
+ s[y] = w << 24 | w >>> 8, f[y] = w << 16 | w >>> 16, h[y] = w << 8 | w >>> 24, l[y] = w, b ? (b = k ^ o[o[o[F ^ k]]], D ^= o[o[D]]) : b = D = 1;
3477
3472
  }
3478
3473
  })();
3479
- var D = [0, 1, 2, 4, 8, 16, 32, 64, 128, 27, 54], i = b.AES = v.extend({
3474
+ var g = [0, 1, 2, 4, 8, 16, 32, 64, 128, 27, 54], i = m.AES = p.extend({
3480
3475
  _doReset: function() {
3481
3476
  var o;
3482
3477
  if (!(this._nRounds && this._keyPriorReset === this._key)) {
3483
- for (var u = this._keyPriorReset = this._key, m = u.words, g = u.sigBytes / 4, y = this._nRounds = g + 6, k = (y + 1) * 4, R = this._keySchedule = [], F = 0; F < k; F++)
3484
- F < g ? R[F] = m[F] : (o = R[F - 1], F % g ? g > 6 && F % g == 4 && (o = B[o >>> 24] << 24 | B[o >>> 16 & 255] << 16 | B[o >>> 8 & 255] << 8 | B[o & 255]) : (o = o << 8 | o >>> 24, o = B[o >>> 24] << 24 | B[o >>> 16 & 255] << 16 | B[o >>> 8 & 255] << 8 | B[o & 255], o ^= D[F / g | 0] << 24), R[F] = R[F - g] ^ o);
3478
+ for (var d = this._keyPriorReset = this._key, b = d.words, D = d.sigBytes / 4, y = this._nRounds = D + 6, k = (y + 1) * 4, R = this._keySchedule = [], F = 0; F < k; F++)
3479
+ F < D ? R[F] = b[F] : (o = R[F - 1], F % D ? D > 6 && F % D == 4 && (o = B[o >>> 24] << 24 | B[o >>> 16 & 255] << 16 | B[o >>> 8 & 255] << 8 | B[o & 255]) : (o = o << 8 | o >>> 24, o = B[o >>> 24] << 24 | B[o >>> 16 & 255] << 16 | B[o >>> 8 & 255] << 8 | B[o & 255], o ^= g[F / D | 0] << 24), R[F] = R[F - D] ^ o);
3485
3480
  for (var w = this._invKeySchedule = [], H = 0; H < k; H++) {
3486
3481
  var F = k - H;
3487
3482
  if (H % 4)
3488
3483
  var o = R[F];
3489
3484
  else
3490
3485
  var o = R[F - 4];
3491
- H < 4 || F <= 4 ? w[H] = o : w[H] = s[B[o >>> 24]] ^ f[B[o >>> 16 & 255]] ^ p[B[o >>> 8 & 255]] ^ l[B[o & 255]];
3486
+ H < 4 || F <= 4 ? w[H] = o : w[H] = s[B[o >>> 24]] ^ f[B[o >>> 16 & 255]] ^ h[B[o >>> 8 & 255]] ^ l[B[o & 255]];
3492
3487
  }
3493
3488
  }
3494
3489
  },
3495
- encryptBlock: function(o, u) {
3496
- this._doCryptBlock(o, u, this._keySchedule, x, n, E, a, B);
3490
+ encryptBlock: function(o, d) {
3491
+ this._doCryptBlock(o, d, this._keySchedule, x, n, E, a, B);
3497
3492
  },
3498
- decryptBlock: function(o, u) {
3499
- var m = o[u + 1];
3500
- o[u + 1] = o[u + 3], o[u + 3] = m, this._doCryptBlock(o, u, this._invKeySchedule, s, f, p, l, C);
3501
- var m = o[u + 1];
3502
- o[u + 1] = o[u + 3], o[u + 3] = m;
3493
+ decryptBlock: function(o, d) {
3494
+ var b = o[d + 1];
3495
+ o[d + 1] = o[d + 3], o[d + 3] = b, this._doCryptBlock(o, d, this._invKeySchedule, s, f, h, l, C);
3496
+ var b = o[d + 1];
3497
+ o[d + 1] = o[d + 3], o[d + 3] = b;
3503
3498
  },
3504
- _doCryptBlock: function(o, u, m, g, y, k, R, F) {
3505
- for (var w = this._nRounds, H = o[u] ^ m[0], $ = o[u + 1] ^ m[1], W = o[u + 2] ^ m[2], O = o[u + 3] ^ m[3], q = 4, U = 1; U < w; U++) {
3506
- var T = g[H >>> 24] ^ y[$ >>> 16 & 255] ^ k[W >>> 8 & 255] ^ R[O & 255] ^ m[q++], N = g[$ >>> 24] ^ y[W >>> 16 & 255] ^ k[O >>> 8 & 255] ^ R[H & 255] ^ m[q++], j = g[W >>> 24] ^ y[O >>> 16 & 255] ^ k[H >>> 8 & 255] ^ R[$ & 255] ^ m[q++], S = g[O >>> 24] ^ y[H >>> 16 & 255] ^ k[$ >>> 8 & 255] ^ R[W & 255] ^ m[q++];
3499
+ _doCryptBlock: function(o, d, b, D, y, k, R, F) {
3500
+ for (var w = this._nRounds, H = o[d] ^ b[0], $ = o[d + 1] ^ b[1], W = o[d + 2] ^ b[2], O = o[d + 3] ^ b[3], q = 4, U = 1; U < w; U++) {
3501
+ var T = D[H >>> 24] ^ y[$ >>> 16 & 255] ^ k[W >>> 8 & 255] ^ R[O & 255] ^ b[q++], N = D[$ >>> 24] ^ y[W >>> 16 & 255] ^ k[O >>> 8 & 255] ^ R[H & 255] ^ b[q++], j = D[W >>> 24] ^ y[O >>> 16 & 255] ^ k[H >>> 8 & 255] ^ R[$ & 255] ^ b[q++], S = D[O >>> 24] ^ y[H >>> 16 & 255] ^ k[$ >>> 8 & 255] ^ R[W & 255] ^ b[q++];
3507
3502
  H = T, $ = N, W = j, O = S;
3508
3503
  }
3509
- var T = (F[H >>> 24] << 24 | F[$ >>> 16 & 255] << 16 | F[W >>> 8 & 255] << 8 | F[O & 255]) ^ m[q++], N = (F[$ >>> 24] << 24 | F[W >>> 16 & 255] << 16 | F[O >>> 8 & 255] << 8 | F[H & 255]) ^ m[q++], j = (F[W >>> 24] << 24 | F[O >>> 16 & 255] << 16 | F[H >>> 8 & 255] << 8 | F[$ & 255]) ^ m[q++], S = (F[O >>> 24] << 24 | F[H >>> 16 & 255] << 16 | F[$ >>> 8 & 255] << 8 | F[W & 255]) ^ m[q++];
3510
- o[u] = T, o[u + 1] = N, o[u + 2] = j, o[u + 3] = S;
3504
+ var T = (F[H >>> 24] << 24 | F[$ >>> 16 & 255] << 16 | F[W >>> 8 & 255] << 8 | F[O & 255]) ^ b[q++], N = (F[$ >>> 24] << 24 | F[W >>> 16 & 255] << 16 | F[O >>> 8 & 255] << 8 | F[H & 255]) ^ b[q++], j = (F[W >>> 24] << 24 | F[O >>> 16 & 255] << 16 | F[H >>> 8 & 255] << 8 | F[$ & 255]) ^ b[q++], S = (F[O >>> 24] << 24 | F[H >>> 16 & 255] << 16 | F[$ >>> 8 & 255] << 8 | F[W & 255]) ^ b[q++];
3505
+ o[d] = T, o[d + 1] = N, o[d + 2] = j, o[d + 3] = S;
3511
3506
  },
3512
3507
  keySize: 256 / 32
3513
3508
  });
3514
- e.AES = v._createHelper(i);
3509
+ e.AES = p._createHelper(i);
3515
3510
  })(), t.AES;
3516
3511
  });
3517
3512
  })(tr)), tr.exports;
3518
3513
  }
3519
3514
  var xr = { exports: {} }, fx = xr.exports, le;
3520
3515
  function ux() {
3521
- return le || (le = 1, (function(r, h) {
3522
- (function(t, e, d) {
3516
+ return le || (le = 1, (function(r, v) {
3517
+ (function(t, e, u) {
3523
3518
  r.exports = e(M(), i0(), s0(), a0(), X());
3524
3519
  })(fx, function(t) {
3525
3520
  return (function() {
3526
- var e = t, d = e.lib, v = d.WordArray, b = d.BlockCipher, B = e.algo, C = [
3521
+ var e = t, u = e.lib, p = u.WordArray, m = u.BlockCipher, B = e.algo, C = [
3527
3522
  57,
3528
3523
  49,
3529
3524
  41,
@@ -4167,91 +4162,91 @@ function ux() {
4167
4162
  8064,
4168
4163
  504,
4169
4164
  2147483679
4170
- ], s = B.DES = b.extend({
4165
+ ], s = B.DES = m.extend({
4171
4166
  _doReset: function() {
4172
- for (var D = this._key, i = D.words, o = [], u = 0; u < 56; u++) {
4173
- var m = C[u] - 1;
4174
- o[u] = i[m >>> 5] >>> 31 - m % 32 & 1;
4167
+ for (var g = this._key, i = g.words, o = [], d = 0; d < 56; d++) {
4168
+ var b = C[d] - 1;
4169
+ o[d] = i[b >>> 5] >>> 31 - b % 32 & 1;
4175
4170
  }
4176
- for (var g = this._subKeys = [], y = 0; y < 16; y++) {
4177
- for (var k = g[y] = [], R = n[y], u = 0; u < 24; u++)
4178
- k[u / 6 | 0] |= o[(x[u] - 1 + R) % 28] << 31 - u % 6, k[4 + (u / 6 | 0)] |= o[28 + (x[u + 24] - 1 + R) % 28] << 31 - u % 6;
4171
+ for (var D = this._subKeys = [], y = 0; y < 16; y++) {
4172
+ for (var k = D[y] = [], R = n[y], d = 0; d < 24; d++)
4173
+ k[d / 6 | 0] |= o[(x[d] - 1 + R) % 28] << 31 - d % 6, k[4 + (d / 6 | 0)] |= o[28 + (x[d + 24] - 1 + R) % 28] << 31 - d % 6;
4179
4174
  k[0] = k[0] << 1 | k[0] >>> 31;
4180
- for (var u = 1; u < 7; u++)
4181
- k[u] = k[u] >>> (u - 1) * 4 + 3;
4175
+ for (var d = 1; d < 7; d++)
4176
+ k[d] = k[d] >>> (d - 1) * 4 + 3;
4182
4177
  k[7] = k[7] << 5 | k[7] >>> 27;
4183
4178
  }
4184
- for (var F = this._invSubKeys = [], u = 0; u < 16; u++)
4185
- F[u] = g[15 - u];
4179
+ for (var F = this._invSubKeys = [], d = 0; d < 16; d++)
4180
+ F[d] = D[15 - d];
4186
4181
  },
4187
- encryptBlock: function(D, i) {
4188
- this._doCryptBlock(D, i, this._subKeys);
4182
+ encryptBlock: function(g, i) {
4183
+ this._doCryptBlock(g, i, this._subKeys);
4189
4184
  },
4190
- decryptBlock: function(D, i) {
4191
- this._doCryptBlock(D, i, this._invSubKeys);
4185
+ decryptBlock: function(g, i) {
4186
+ this._doCryptBlock(g, i, this._invSubKeys);
4192
4187
  },
4193
- _doCryptBlock: function(D, i, o) {
4194
- this._lBlock = D[i], this._rBlock = D[i + 1], f.call(this, 4, 252645135), f.call(this, 16, 65535), p.call(this, 2, 858993459), p.call(this, 8, 16711935), f.call(this, 1, 1431655765);
4195
- for (var u = 0; u < 16; u++) {
4196
- for (var m = o[u], g = this._lBlock, y = this._rBlock, k = 0, R = 0; R < 8; R++)
4197
- k |= E[R][((y ^ m[R]) & a[R]) >>> 0];
4198
- this._lBlock = y, this._rBlock = g ^ k;
4188
+ _doCryptBlock: function(g, i, o) {
4189
+ this._lBlock = g[i], this._rBlock = g[i + 1], f.call(this, 4, 252645135), f.call(this, 16, 65535), h.call(this, 2, 858993459), h.call(this, 8, 16711935), f.call(this, 1, 1431655765);
4190
+ for (var d = 0; d < 16; d++) {
4191
+ for (var b = o[d], D = this._lBlock, y = this._rBlock, k = 0, R = 0; R < 8; R++)
4192
+ k |= E[R][((y ^ b[R]) & a[R]) >>> 0];
4193
+ this._lBlock = y, this._rBlock = D ^ k;
4199
4194
  }
4200
4195
  var F = this._lBlock;
4201
- this._lBlock = this._rBlock, this._rBlock = F, f.call(this, 1, 1431655765), p.call(this, 8, 16711935), p.call(this, 2, 858993459), f.call(this, 16, 65535), f.call(this, 4, 252645135), D[i] = this._lBlock, D[i + 1] = this._rBlock;
4196
+ this._lBlock = this._rBlock, this._rBlock = F, f.call(this, 1, 1431655765), h.call(this, 8, 16711935), h.call(this, 2, 858993459), f.call(this, 16, 65535), f.call(this, 4, 252645135), g[i] = this._lBlock, g[i + 1] = this._rBlock;
4202
4197
  },
4203
4198
  keySize: 64 / 32,
4204
4199
  ivSize: 64 / 32,
4205
4200
  blockSize: 64 / 32
4206
4201
  });
4207
- function f(D, i) {
4208
- var o = (this._lBlock >>> D ^ this._rBlock) & i;
4209
- this._rBlock ^= o, this._lBlock ^= o << D;
4202
+ function f(g, i) {
4203
+ var o = (this._lBlock >>> g ^ this._rBlock) & i;
4204
+ this._rBlock ^= o, this._lBlock ^= o << g;
4210
4205
  }
4211
- function p(D, i) {
4212
- var o = (this._rBlock >>> D ^ this._lBlock) & i;
4213
- this._lBlock ^= o, this._rBlock ^= o << D;
4206
+ function h(g, i) {
4207
+ var o = (this._rBlock >>> g ^ this._lBlock) & i;
4208
+ this._lBlock ^= o, this._rBlock ^= o << g;
4214
4209
  }
4215
- e.DES = b._createHelper(s);
4216
- var l = B.TripleDES = b.extend({
4210
+ e.DES = m._createHelper(s);
4211
+ var l = B.TripleDES = m.extend({
4217
4212
  _doReset: function() {
4218
- var D = this._key, i = D.words;
4213
+ var g = this._key, i = g.words;
4219
4214
  if (i.length !== 2 && i.length !== 4 && i.length < 6)
4220
4215
  throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");
4221
- var o = i.slice(0, 2), u = i.length < 4 ? i.slice(0, 2) : i.slice(2, 4), m = i.length < 6 ? i.slice(0, 2) : i.slice(4, 6);
4222
- this._des1 = s.createEncryptor(v.create(o)), this._des2 = s.createEncryptor(v.create(u)), this._des3 = s.createEncryptor(v.create(m));
4216
+ var o = i.slice(0, 2), d = i.length < 4 ? i.slice(0, 2) : i.slice(2, 4), b = i.length < 6 ? i.slice(0, 2) : i.slice(4, 6);
4217
+ this._des1 = s.createEncryptor(p.create(o)), this._des2 = s.createEncryptor(p.create(d)), this._des3 = s.createEncryptor(p.create(b));
4223
4218
  },
4224
- encryptBlock: function(D, i) {
4225
- this._des1.encryptBlock(D, i), this._des2.decryptBlock(D, i), this._des3.encryptBlock(D, i);
4219
+ encryptBlock: function(g, i) {
4220
+ this._des1.encryptBlock(g, i), this._des2.decryptBlock(g, i), this._des3.encryptBlock(g, i);
4226
4221
  },
4227
- decryptBlock: function(D, i) {
4228
- this._des3.decryptBlock(D, i), this._des2.encryptBlock(D, i), this._des1.decryptBlock(D, i);
4222
+ decryptBlock: function(g, i) {
4223
+ this._des3.decryptBlock(g, i), this._des2.encryptBlock(g, i), this._des1.decryptBlock(g, i);
4229
4224
  },
4230
4225
  keySize: 192 / 32,
4231
4226
  ivSize: 64 / 32,
4232
4227
  blockSize: 64 / 32
4233
4228
  });
4234
- e.TripleDES = b._createHelper(l);
4229
+ e.TripleDES = m._createHelper(l);
4235
4230
  })(), t.TripleDES;
4236
4231
  });
4237
4232
  })(xr)), xr.exports;
4238
4233
  }
4239
4234
  var nr = { exports: {} }, dx = nr.exports, he;
4240
4235
  function lx() {
4241
- return he || (he = 1, (function(r, h) {
4242
- (function(t, e, d) {
4236
+ return he || (he = 1, (function(r, v) {
4237
+ (function(t, e, u) {
4243
4238
  r.exports = e(M(), i0(), s0(), a0(), X());
4244
4239
  })(dx, function(t) {
4245
4240
  return (function() {
4246
- var e = t, d = e.lib, v = d.StreamCipher, b = e.algo, B = b.RC4 = v.extend({
4241
+ var e = t, u = e.lib, p = u.StreamCipher, m = e.algo, B = m.RC4 = p.extend({
4247
4242
  _doReset: function() {
4248
4243
  for (var n = this._key, E = n.words, a = n.sigBytes, s = this._S = [], f = 0; f < 256; f++)
4249
4244
  s[f] = f;
4250
- for (var f = 0, p = 0; f < 256; f++) {
4251
- var l = f % a, D = E[l >>> 2] >>> 24 - l % 4 * 8 & 255;
4252
- p = (p + s[f] + D) % 256;
4245
+ for (var f = 0, h = 0; f < 256; f++) {
4246
+ var l = f % a, g = E[l >>> 2] >>> 24 - l % 4 * 8 & 255;
4247
+ h = (h + s[f] + g) % 256;
4253
4248
  var i = s[f];
4254
- s[f] = s[p], s[p] = i;
4249
+ s[f] = s[h], s[h] = i;
4255
4250
  }
4256
4251
  this._i = this._j = 0;
4257
4252
  },
@@ -4264,13 +4259,13 @@ function lx() {
4264
4259
  function C() {
4265
4260
  for (var n = this._S, E = this._i, a = this._j, s = 0, f = 0; f < 4; f++) {
4266
4261
  E = (E + 1) % 256, a = (a + n[E]) % 256;
4267
- var p = n[E];
4268
- n[E] = n[a], n[a] = p, s |= n[(n[E] + n[a]) % 256] << 24 - f * 8;
4262
+ var h = n[E];
4263
+ n[E] = n[a], n[a] = h, s |= n[(n[E] + n[a]) % 256] << 24 - f * 8;
4269
4264
  }
4270
4265
  return this._i = E, this._j = a, s;
4271
4266
  }
4272
- e.RC4 = v._createHelper(B);
4273
- var x = b.RC4Drop = B.extend({
4267
+ e.RC4 = p._createHelper(B);
4268
+ var x = m.RC4Drop = B.extend({
4274
4269
  /**
4275
4270
  * Configuration options.
4276
4271
  *
@@ -4285,23 +4280,23 @@ function lx() {
4285
4280
  C.call(this);
4286
4281
  }
4287
4282
  });
4288
- e.RC4Drop = v._createHelper(x);
4283
+ e.RC4Drop = p._createHelper(x);
4289
4284
  })(), t.RC4;
4290
4285
  });
4291
4286
  })(nr)), nr.exports;
4292
4287
  }
4293
4288
  var ar = { exports: {} }, hx = ar.exports, ve;
4294
4289
  function vx() {
4295
- return ve || (ve = 1, (function(r, h) {
4296
- (function(t, e, d) {
4290
+ return ve || (ve = 1, (function(r, v) {
4291
+ (function(t, e, u) {
4297
4292
  r.exports = e(M(), i0(), s0(), a0(), X());
4298
4293
  })(hx, function(t) {
4299
4294
  return (function() {
4300
- var e = t, d = e.lib, v = d.StreamCipher, b = e.algo, B = [], C = [], x = [], n = b.Rabbit = v.extend({
4295
+ var e = t, u = e.lib, p = u.StreamCipher, m = e.algo, B = [], C = [], x = [], n = m.Rabbit = p.extend({
4301
4296
  _doReset: function() {
4302
4297
  for (var a = this._key.words, s = this.cfg.iv, f = 0; f < 4; f++)
4303
4298
  a[f] = (a[f] << 8 | a[f] >>> 24) & 16711935 | (a[f] << 24 | a[f] >>> 8) & 4278255360;
4304
- var p = this._X = [
4299
+ var h = this._X = [
4305
4300
  a[0],
4306
4301
  a[3] << 16 | a[2] >>> 16,
4307
4302
  a[1],
@@ -4324,10 +4319,10 @@ function vx() {
4324
4319
  for (var f = 0; f < 4; f++)
4325
4320
  E.call(this);
4326
4321
  for (var f = 0; f < 8; f++)
4327
- l[f] ^= p[f + 4 & 7];
4322
+ l[f] ^= h[f + 4 & 7];
4328
4323
  if (s) {
4329
- var D = s.words, i = D[0], o = D[1], u = (i << 8 | i >>> 24) & 16711935 | (i << 24 | i >>> 8) & 4278255360, m = (o << 8 | o >>> 24) & 16711935 | (o << 24 | o >>> 8) & 4278255360, g = u >>> 16 | m & 4294901760, y = m << 16 | u & 65535;
4330
- l[0] ^= u, l[1] ^= g, l[2] ^= m, l[3] ^= y, l[4] ^= u, l[5] ^= g, l[6] ^= m, l[7] ^= y;
4324
+ var g = s.words, i = g[0], o = g[1], d = (i << 8 | i >>> 24) & 16711935 | (i << 24 | i >>> 8) & 4278255360, b = (o << 8 | o >>> 24) & 16711935 | (o << 24 | o >>> 8) & 4278255360, D = d >>> 16 | b & 4294901760, y = b << 16 | d & 65535;
4325
+ l[0] ^= d, l[1] ^= D, l[2] ^= b, l[3] ^= y, l[4] ^= d, l[5] ^= D, l[6] ^= b, l[7] ^= y;
4331
4326
  for (var f = 0; f < 4; f++)
4332
4327
  E.call(this);
4333
4328
  }
@@ -4335,8 +4330,8 @@ function vx() {
4335
4330
  _doProcessBlock: function(a, s) {
4336
4331
  var f = this._X;
4337
4332
  E.call(this), B[0] = f[0] ^ f[5] >>> 16 ^ f[3] << 16, B[1] = f[2] ^ f[7] >>> 16 ^ f[5] << 16, B[2] = f[4] ^ f[1] >>> 16 ^ f[7] << 16, B[3] = f[6] ^ f[3] >>> 16 ^ f[1] << 16;
4338
- for (var p = 0; p < 4; p++)
4339
- B[p] = (B[p] << 8 | B[p] >>> 24) & 16711935 | (B[p] << 24 | B[p] >>> 8) & 4278255360, a[s + p] ^= B[p];
4333
+ for (var h = 0; h < 4; h++)
4334
+ B[h] = (B[h] << 8 | B[h] >>> 24) & 16711935 | (B[h] << 24 | B[h] >>> 8) & 4278255360, a[s + h] ^= B[h];
4340
4335
  },
4341
4336
  blockSize: 128 / 32,
4342
4337
  ivSize: 64 / 32
@@ -4346,24 +4341,24 @@ function vx() {
4346
4341
  C[f] = s[f];
4347
4342
  s[0] = s[0] + 1295307597 + this._b | 0, s[1] = s[1] + 3545052371 + (s[0] >>> 0 < C[0] >>> 0 ? 1 : 0) | 0, s[2] = s[2] + 886263092 + (s[1] >>> 0 < C[1] >>> 0 ? 1 : 0) | 0, s[3] = s[3] + 1295307597 + (s[2] >>> 0 < C[2] >>> 0 ? 1 : 0) | 0, s[4] = s[4] + 3545052371 + (s[3] >>> 0 < C[3] >>> 0 ? 1 : 0) | 0, s[5] = s[5] + 886263092 + (s[4] >>> 0 < C[4] >>> 0 ? 1 : 0) | 0, s[6] = s[6] + 1295307597 + (s[5] >>> 0 < C[5] >>> 0 ? 1 : 0) | 0, s[7] = s[7] + 3545052371 + (s[6] >>> 0 < C[6] >>> 0 ? 1 : 0) | 0, this._b = s[7] >>> 0 < C[7] >>> 0 ? 1 : 0;
4348
4343
  for (var f = 0; f < 8; f++) {
4349
- var p = a[f] + s[f], l = p & 65535, D = p >>> 16, i = ((l * l >>> 17) + l * D >>> 15) + D * D, o = ((p & 4294901760) * p | 0) + ((p & 65535) * p | 0);
4344
+ var h = a[f] + s[f], l = h & 65535, g = h >>> 16, i = ((l * l >>> 17) + l * g >>> 15) + g * g, o = ((h & 4294901760) * h | 0) + ((h & 65535) * h | 0);
4350
4345
  x[f] = i ^ o;
4351
4346
  }
4352
4347
  a[0] = x[0] + (x[7] << 16 | x[7] >>> 16) + (x[6] << 16 | x[6] >>> 16) | 0, a[1] = x[1] + (x[0] << 8 | x[0] >>> 24) + x[7] | 0, a[2] = x[2] + (x[1] << 16 | x[1] >>> 16) + (x[0] << 16 | x[0] >>> 16) | 0, a[3] = x[3] + (x[2] << 8 | x[2] >>> 24) + x[1] | 0, a[4] = x[4] + (x[3] << 16 | x[3] >>> 16) + (x[2] << 16 | x[2] >>> 16) | 0, a[5] = x[5] + (x[4] << 8 | x[4] >>> 24) + x[3] | 0, a[6] = x[6] + (x[5] << 16 | x[5] >>> 16) + (x[4] << 16 | x[4] >>> 16) | 0, a[7] = x[7] + (x[6] << 8 | x[6] >>> 24) + x[5] | 0;
4353
4348
  }
4354
- e.Rabbit = v._createHelper(n);
4349
+ e.Rabbit = p._createHelper(n);
4355
4350
  })(), t.Rabbit;
4356
4351
  });
4357
4352
  })(ar)), ar.exports;
4358
4353
  }
4359
4354
  var or = { exports: {} }, px = or.exports, pe;
4360
4355
  function Bx() {
4361
- return pe || (pe = 1, (function(r, h) {
4362
- (function(t, e, d) {
4356
+ return pe || (pe = 1, (function(r, v) {
4357
+ (function(t, e, u) {
4363
4358
  r.exports = e(M(), i0(), s0(), a0(), X());
4364
4359
  })(px, function(t) {
4365
4360
  return (function() {
4366
- var e = t, d = e.lib, v = d.StreamCipher, b = e.algo, B = [], C = [], x = [], n = b.RabbitLegacy = v.extend({
4361
+ var e = t, u = e.lib, p = u.StreamCipher, m = e.algo, B = [], C = [], x = [], n = m.RabbitLegacy = p.extend({
4367
4362
  _doReset: function() {
4368
4363
  var a = this._key.words, s = this.cfg.iv, f = this._X = [
4369
4364
  a[0],
@@ -4374,7 +4369,7 @@ function Bx() {
4374
4369
  a[1] << 16 | a[0] >>> 16,
4375
4370
  a[3],
4376
4371
  a[2] << 16 | a[1] >>> 16
4377
- ], p = this._C = [
4372
+ ], h = this._C = [
4378
4373
  a[2] << 16 | a[2] >>> 16,
4379
4374
  a[0] & 4294901760 | a[1] & 65535,
4380
4375
  a[3] << 16 | a[3] >>> 16,
@@ -4388,10 +4383,10 @@ function Bx() {
4388
4383
  for (var l = 0; l < 4; l++)
4389
4384
  E.call(this);
4390
4385
  for (var l = 0; l < 8; l++)
4391
- p[l] ^= f[l + 4 & 7];
4386
+ h[l] ^= f[l + 4 & 7];
4392
4387
  if (s) {
4393
- var D = s.words, i = D[0], o = D[1], u = (i << 8 | i >>> 24) & 16711935 | (i << 24 | i >>> 8) & 4278255360, m = (o << 8 | o >>> 24) & 16711935 | (o << 24 | o >>> 8) & 4278255360, g = u >>> 16 | m & 4294901760, y = m << 16 | u & 65535;
4394
- p[0] ^= u, p[1] ^= g, p[2] ^= m, p[3] ^= y, p[4] ^= u, p[5] ^= g, p[6] ^= m, p[7] ^= y;
4388
+ var g = s.words, i = g[0], o = g[1], d = (i << 8 | i >>> 24) & 16711935 | (i << 24 | i >>> 8) & 4278255360, b = (o << 8 | o >>> 24) & 16711935 | (o << 24 | o >>> 8) & 4278255360, D = d >>> 16 | b & 4294901760, y = b << 16 | d & 65535;
4389
+ h[0] ^= d, h[1] ^= D, h[2] ^= b, h[3] ^= y, h[4] ^= d, h[5] ^= D, h[6] ^= b, h[7] ^= y;
4395
4390
  for (var l = 0; l < 4; l++)
4396
4391
  E.call(this);
4397
4392
  }
@@ -4399,8 +4394,8 @@ function Bx() {
4399
4394
  _doProcessBlock: function(a, s) {
4400
4395
  var f = this._X;
4401
4396
  E.call(this), B[0] = f[0] ^ f[5] >>> 16 ^ f[3] << 16, B[1] = f[2] ^ f[7] >>> 16 ^ f[5] << 16, B[2] = f[4] ^ f[1] >>> 16 ^ f[7] << 16, B[3] = f[6] ^ f[3] >>> 16 ^ f[1] << 16;
4402
- for (var p = 0; p < 4; p++)
4403
- B[p] = (B[p] << 8 | B[p] >>> 24) & 16711935 | (B[p] << 24 | B[p] >>> 8) & 4278255360, a[s + p] ^= B[p];
4397
+ for (var h = 0; h < 4; h++)
4398
+ B[h] = (B[h] << 8 | B[h] >>> 24) & 16711935 | (B[h] << 24 | B[h] >>> 8) & 4278255360, a[s + h] ^= B[h];
4404
4399
  },
4405
4400
  blockSize: 128 / 32,
4406
4401
  ivSize: 64 / 32
@@ -4410,24 +4405,24 @@ function Bx() {
4410
4405
  C[f] = s[f];
4411
4406
  s[0] = s[0] + 1295307597 + this._b | 0, s[1] = s[1] + 3545052371 + (s[0] >>> 0 < C[0] >>> 0 ? 1 : 0) | 0, s[2] = s[2] + 886263092 + (s[1] >>> 0 < C[1] >>> 0 ? 1 : 0) | 0, s[3] = s[3] + 1295307597 + (s[2] >>> 0 < C[2] >>> 0 ? 1 : 0) | 0, s[4] = s[4] + 3545052371 + (s[3] >>> 0 < C[3] >>> 0 ? 1 : 0) | 0, s[5] = s[5] + 886263092 + (s[4] >>> 0 < C[4] >>> 0 ? 1 : 0) | 0, s[6] = s[6] + 1295307597 + (s[5] >>> 0 < C[5] >>> 0 ? 1 : 0) | 0, s[7] = s[7] + 3545052371 + (s[6] >>> 0 < C[6] >>> 0 ? 1 : 0) | 0, this._b = s[7] >>> 0 < C[7] >>> 0 ? 1 : 0;
4412
4407
  for (var f = 0; f < 8; f++) {
4413
- var p = a[f] + s[f], l = p & 65535, D = p >>> 16, i = ((l * l >>> 17) + l * D >>> 15) + D * D, o = ((p & 4294901760) * p | 0) + ((p & 65535) * p | 0);
4408
+ var h = a[f] + s[f], l = h & 65535, g = h >>> 16, i = ((l * l >>> 17) + l * g >>> 15) + g * g, o = ((h & 4294901760) * h | 0) + ((h & 65535) * h | 0);
4414
4409
  x[f] = i ^ o;
4415
4410
  }
4416
4411
  a[0] = x[0] + (x[7] << 16 | x[7] >>> 16) + (x[6] << 16 | x[6] >>> 16) | 0, a[1] = x[1] + (x[0] << 8 | x[0] >>> 24) + x[7] | 0, a[2] = x[2] + (x[1] << 16 | x[1] >>> 16) + (x[0] << 16 | x[0] >>> 16) | 0, a[3] = x[3] + (x[2] << 8 | x[2] >>> 24) + x[1] | 0, a[4] = x[4] + (x[3] << 16 | x[3] >>> 16) + (x[2] << 16 | x[2] >>> 16) | 0, a[5] = x[5] + (x[4] << 8 | x[4] >>> 24) + x[3] | 0, a[6] = x[6] + (x[5] << 16 | x[5] >>> 16) + (x[4] << 16 | x[4] >>> 16) | 0, a[7] = x[7] + (x[6] << 8 | x[6] >>> 24) + x[5] | 0;
4417
4412
  }
4418
- e.RabbitLegacy = v._createHelper(n);
4413
+ e.RabbitLegacy = p._createHelper(n);
4419
4414
  })(), t.RabbitLegacy;
4420
4415
  });
4421
4416
  })(or)), or.exports;
4422
4417
  }
4423
4418
  var ir = { exports: {} }, Cx = ir.exports, Be;
4424
4419
  function Ex() {
4425
- return Be || (Be = 1, (function(r, h) {
4426
- (function(t, e, d) {
4420
+ return Be || (Be = 1, (function(r, v) {
4421
+ (function(t, e, u) {
4427
4422
  r.exports = e(M(), i0(), s0(), a0(), X());
4428
4423
  })(Cx, function(t) {
4429
4424
  return (function() {
4430
- var e = t, d = e.lib, v = d.BlockCipher, b = e.algo;
4425
+ var e = t, u = e.lib, p = u.BlockCipher, m = e.algo;
4431
4426
  const B = 16, C = [
4432
4427
  608135816,
4433
4428
  2242054355,
@@ -5485,23 +5480,23 @@ function Ex() {
5485
5480
  pbox: [],
5486
5481
  sbox: []
5487
5482
  };
5488
- function E(l, D) {
5489
- let i = D >> 24 & 255, o = D >> 16 & 255, u = D >> 8 & 255, m = D & 255, g = l.sbox[0][i] + l.sbox[1][o];
5490
- return g = g ^ l.sbox[2][u], g = g + l.sbox[3][m], g;
5483
+ function E(l, g) {
5484
+ let i = g >> 24 & 255, o = g >> 16 & 255, d = g >> 8 & 255, b = g & 255, D = l.sbox[0][i] + l.sbox[1][o];
5485
+ return D = D ^ l.sbox[2][d], D = D + l.sbox[3][b], D;
5491
5486
  }
5492
- function a(l, D, i) {
5493
- let o = D, u = i, m;
5494
- for (let g = 0; g < B; ++g)
5495
- o = o ^ l.pbox[g], u = E(l, o) ^ u, m = o, o = u, u = m;
5496
- return m = o, o = u, u = m, u = u ^ l.pbox[B], o = o ^ l.pbox[B + 1], { left: o, right: u };
5487
+ function a(l, g, i) {
5488
+ let o = g, d = i, b;
5489
+ for (let D = 0; D < B; ++D)
5490
+ o = o ^ l.pbox[D], d = E(l, o) ^ d, b = o, o = d, d = b;
5491
+ return b = o, o = d, d = b, d = d ^ l.pbox[B], o = o ^ l.pbox[B + 1], { left: o, right: d };
5497
5492
  }
5498
- function s(l, D, i) {
5499
- let o = D, u = i, m;
5500
- for (let g = B + 1; g > 1; --g)
5501
- o = o ^ l.pbox[g], u = E(l, o) ^ u, m = o, o = u, u = m;
5502
- return m = o, o = u, u = m, u = u ^ l.pbox[1], o = o ^ l.pbox[0], { left: o, right: u };
5493
+ function s(l, g, i) {
5494
+ let o = g, d = i, b;
5495
+ for (let D = B + 1; D > 1; --D)
5496
+ o = o ^ l.pbox[D], d = E(l, o) ^ d, b = o, o = d, d = b;
5497
+ return b = o, o = d, d = b, d = d ^ l.pbox[1], o = o ^ l.pbox[0], { left: o, right: d };
5503
5498
  }
5504
- function f(l, D, i) {
5499
+ function f(l, g, i) {
5505
5500
  for (let y = 0; y < 4; y++) {
5506
5501
  l.sbox[y] = [];
5507
5502
  for (let k = 0; k < 256; k++)
@@ -5509,44 +5504,44 @@ function Ex() {
5509
5504
  }
5510
5505
  let o = 0;
5511
5506
  for (let y = 0; y < B + 2; y++)
5512
- l.pbox[y] = C[y] ^ D[o], o++, o >= i && (o = 0);
5513
- let u = 0, m = 0, g = 0;
5507
+ l.pbox[y] = C[y] ^ g[o], o++, o >= i && (o = 0);
5508
+ let d = 0, b = 0, D = 0;
5514
5509
  for (let y = 0; y < B + 2; y += 2)
5515
- g = a(l, u, m), u = g.left, m = g.right, l.pbox[y] = u, l.pbox[y + 1] = m;
5510
+ D = a(l, d, b), d = D.left, b = D.right, l.pbox[y] = d, l.pbox[y + 1] = b;
5516
5511
  for (let y = 0; y < 4; y++)
5517
5512
  for (let k = 0; k < 256; k += 2)
5518
- g = a(l, u, m), u = g.left, m = g.right, l.sbox[y][k] = u, l.sbox[y][k + 1] = m;
5513
+ D = a(l, d, b), d = D.left, b = D.right, l.sbox[y][k] = d, l.sbox[y][k + 1] = b;
5519
5514
  return !0;
5520
5515
  }
5521
- var p = b.Blowfish = v.extend({
5516
+ var h = m.Blowfish = p.extend({
5522
5517
  _doReset: function() {
5523
5518
  if (this._keyPriorReset !== this._key) {
5524
- var l = this._keyPriorReset = this._key, D = l.words, i = l.sigBytes / 4;
5525
- f(n, D, i);
5519
+ var l = this._keyPriorReset = this._key, g = l.words, i = l.sigBytes / 4;
5520
+ f(n, g, i);
5526
5521
  }
5527
5522
  },
5528
- encryptBlock: function(l, D) {
5529
- var i = a(n, l[D], l[D + 1]);
5530
- l[D] = i.left, l[D + 1] = i.right;
5523
+ encryptBlock: function(l, g) {
5524
+ var i = a(n, l[g], l[g + 1]);
5525
+ l[g] = i.left, l[g + 1] = i.right;
5531
5526
  },
5532
- decryptBlock: function(l, D) {
5533
- var i = s(n, l[D], l[D + 1]);
5534
- l[D] = i.left, l[D + 1] = i.right;
5527
+ decryptBlock: function(l, g) {
5528
+ var i = s(n, l[g], l[g + 1]);
5529
+ l[g] = i.left, l[g + 1] = i.right;
5535
5530
  },
5536
5531
  blockSize: 64 / 32,
5537
5532
  keySize: 128 / 32,
5538
5533
  ivSize: 64 / 32
5539
5534
  });
5540
- e.Blowfish = v._createHelper(p);
5535
+ e.Blowfish = p._createHelper(h);
5541
5536
  })(), t.Blowfish;
5542
5537
  });
5543
5538
  })(ir)), ir.exports;
5544
5539
  }
5545
5540
  var Ax = _0.exports, Ce;
5546
5541
  function Fx() {
5547
- return Ce || (Ce = 1, (function(r, h) {
5548
- (function(t, e, d) {
5549
- r.exports = e(M(), ur(), Bt(), Et(), i0(), gt(), s0(), ye(), Er(), yt(), we(), St(), $t(), Pt(), Ar(), It(), a0(), X(), Tt(), Nt(), jt(), Kt(), Yt(), Qt(), Jt(), ex(), xx(), ax(), ix(), cx(), ux(), lx(), vx(), Bx(), Ex());
5542
+ return Ce || (Ce = 1, (function(r, v) {
5543
+ (function(t, e, u) {
5544
+ r.exports = e(M(), fr(), Bt(), Et(), i0(), Dt(), s0(), ye(), Er(), yt(), we(), St(), $t(), Pt(), Ar(), It(), a0(), X(), Tt(), Nt(), jt(), Kt(), Yt(), Qt(), Jt(), ex(), xx(), ax(), ix(), cx(), ux(), lx(), vx(), Bx(), Ex());
5550
5545
  })(Ax, function(t) {
5551
5546
  return t;
5552
5547
  });
@@ -5555,10 +5550,10 @@ function Fx() {
5555
5550
  Fx();
5556
5551
  let ke = null, Se = null, He = null, $e = null;
5557
5552
  Math.random().toString(36).substring(7);
5558
- function gx(r) {
5553
+ function Dx(r) {
5559
5554
  ke = r.token, Se = r.apiUrl, He = r.deviceId, $e = r.domain;
5560
5555
  }
5561
- function Dx() {
5556
+ function gx() {
5562
5557
  return {
5563
5558
  token: ke,
5564
5559
  apiUrl: Se,
@@ -5566,12 +5561,12 @@ function Dx() {
5566
5561
  domain: $e
5567
5562
  };
5568
5563
  }
5569
- function mx(r) {
5570
- return `/sdk-workers/${(r.split("/").pop() || r).replace(/\.ts$/, ".js")}?v=1.1.145`;
5564
+ function bx(r) {
5565
+ return `/sdk-workers/${(r.split("/").pop() || r).replace(/\.ts$/, ".js")}?v=1.1.147`;
5571
5566
  }
5572
- function bx(r, h) {
5573
- const t = mx(r);
5574
- return new Worker(t, { type: "module", ...h });
5567
+ function mx(r, v) {
5568
+ const t = bx(r);
5569
+ return new Worker(t, { type: "module", ...v });
5575
5570
  }
5576
5571
  const Fr = () => {
5577
5572
  try {
@@ -5579,54 +5574,54 @@ const Fr = () => {
5579
5574
  } catch {
5580
5575
  }
5581
5576
  return !1;
5582
- }, m0 = (...r) => {
5577
+ }, b0 = (...r) => {
5583
5578
  Fr();
5584
5579
  }, Ee = (...r) => {
5585
5580
  Fr();
5586
- }, Ae = /* @__PURE__ */ new Map(), pr = /* @__PURE__ */ new Map();
5581
+ }, Ae = /* @__PURE__ */ new Map(), vr = /* @__PURE__ */ new Map();
5587
5582
  let _x = 0;
5588
5583
  function yx(r) {
5589
- const h = Ae.get(r);
5590
- if (h) return h;
5591
- const t = bx("./deform.worker.ts");
5584
+ const v = Ae.get(r);
5585
+ if (v) return v;
5586
+ const t = mx("./deform.worker.ts");
5592
5587
  try {
5593
5588
  t.postMessage({ type: "SET_DEBUG", debugRender: Fr() });
5594
5589
  } catch {
5595
5590
  }
5596
- t.onmessage = (d) => {
5597
- const { id: v, imageBitmap: b, error: B, duration: C } = d.data ?? {}, x = C ? ` worker耗时=${Math.round(C)}ms` : "";
5598
- m0(`[renderService] deform worker 响应 id=${v}${x}`, {
5599
- hasImageBitmap: !!b,
5600
- width: b?.width,
5601
- height: b?.height,
5591
+ t.onmessage = (u) => {
5592
+ const { id: p, imageBitmap: m, error: B, duration: C } = u.data ?? {}, x = C ? ` worker耗时=${Math.round(C)}ms` : "";
5593
+ b0(`[renderService] deform worker 响应 id=${p}${x}`, {
5594
+ hasImageBitmap: !!m,
5595
+ width: m?.width,
5596
+ height: m?.height,
5602
5597
  error: B
5603
5598
  });
5604
- const n = pr.get(v);
5599
+ const n = vr.get(p);
5605
5600
  if (n) {
5606
- if (pr.delete(v), B) {
5601
+ if (vr.delete(p), B) {
5607
5602
  n.reject(new Error(B));
5608
5603
  return;
5609
5604
  }
5610
- n.resolve(b);
5605
+ n.resolve(m);
5611
5606
  }
5612
- }, t.onerror = (d) => {
5607
+ }, t.onerror = (u) => {
5613
5608
  };
5614
5609
  const e = () => {
5615
- const d = Dx();
5616
- return m0("🔍 [workerManager] 检查 License Token:", {
5617
- hasToken: !!d.token,
5618
- tokenPreview: d.token ? d.token.substring(0, 20) + "..." : "undefined",
5610
+ const u = gx();
5611
+ return b0("🔍 [workerManager] 检查 License Token:", {
5612
+ hasToken: !!u.token,
5613
+ tokenPreview: u.token ? u.token.substring(0, 20) + "..." : "undefined",
5619
5614
  faceId: r,
5620
5615
  source: "licenseStore模块"
5621
- }), d.token ? (m0("📤 [workerManager] 发送 License 到新创建的 Worker", { faceId: r }), t.postMessage({
5616
+ }), u.token ? (b0("📤 [workerManager] 发送 License 到新创建的 Worker", { faceId: r }), t.postMessage({
5622
5617
  type: "SET_LICENSE",
5623
- licenseToken: d.token,
5624
- licenseApiUrl: d.apiUrl,
5625
- deviceId: d.deviceId,
5626
- domain: d.domain
5618
+ licenseToken: u.token,
5619
+ licenseApiUrl: u.apiUrl,
5620
+ deviceId: u.deviceId,
5621
+ domain: u.domain
5627
5622
  }), !0) : !1;
5628
5623
  };
5629
- return e() || (m0("⏳ [workerManager] License Token 未设置,等待后重试...", { faceId: r }), setTimeout(() => {
5624
+ return e() || (b0("⏳ [workerManager] License Token 未设置,等待后重试...", { faceId: r }), setTimeout(() => {
5630
5625
  e() || Ee("⚠️ [workerManager] 等待后 License Token 仍未设置", { faceId: r });
5631
5626
  }, 200), setTimeout(() => {
5632
5627
  e() || Ee("⚠️ [workerManager] 第二次等待后 License Token 仍未设置", { faceId: r });
@@ -5638,10 +5633,10 @@ function wx(r) {
5638
5633
  type: r.type,
5639
5634
  blendMode: r.blendMode,
5640
5635
  transform: Array.isArray(r.transform) ? [...r.transform] : [],
5641
- meshPoints: Array.isArray(r.meshPoints) ? r.meshPoints.map((h) => ({
5642
- x: h.x,
5643
- y: h.y,
5644
- type: h.type
5636
+ meshPoints: Array.isArray(r.meshPoints) ? r.meshPoints.map((v) => ({
5637
+ x: v.x,
5638
+ y: v.y,
5639
+ type: v.type
5645
5640
  })) : [],
5646
5641
  bounds: r.bounds ? {
5647
5642
  width: r.bounds.width,
@@ -5664,30 +5659,30 @@ function wx(r) {
5664
5659
  layerOrder: r.layerOrder,
5665
5660
  imagePath: r.imagePath,
5666
5661
  vectorMask: r.vectorMask ? {
5667
- paths: r.vectorMask.paths?.map((h) => ({
5668
- open: h.open,
5669
- knots: h.knots?.map((t) => ({
5662
+ paths: r.vectorMask.paths?.map((v) => ({
5663
+ open: v.open,
5664
+ knots: v.knots?.map((t) => ({
5670
5665
  linked: t.linked,
5671
5666
  points: [...t.points]
5672
5667
  })),
5673
- fillRule: h.fillRule,
5674
- operation: h.operation
5668
+ fillRule: v.fillRule,
5669
+ operation: v.operation
5675
5670
  })),
5676
- points: r.vectorMask.points?.map((h) => ({
5677
- x: h.x,
5678
- y: h.y,
5679
- type: h.type
5671
+ points: r.vectorMask.points?.map((v) => ({
5672
+ x: v.x,
5673
+ y: v.y,
5674
+ type: v.type
5680
5675
  })),
5681
5676
  invert: r.vectorMask.invert,
5682
5677
  notLink: r.vectorMask.notLink,
5683
5678
  disable: r.vectorMask.disable,
5684
5679
  fillStartsWithAllPixels: r.vectorMask.fillStartsWithAllPixels
5685
5680
  } : void 0,
5686
- filterList: r.filterList ? r.filterList.map((h) => ({
5687
- type: h.type,
5688
- enabled: h.enabled,
5689
- filter: h.filter ? {
5690
- puppetShapeList: h.filter.puppetShapeList?.map((t) => ({
5681
+ filterList: r.filterList ? r.filterList.map((v) => ({
5682
+ type: v.type,
5683
+ enabled: v.enabled,
5684
+ filter: v.filter ? {
5685
+ puppetShapeList: v.filter.puppetShapeList?.map((t) => ({
5691
5686
  originalVertexArray: t.originalVertexArray.map((e) => ({
5692
5687
  x: e.x,
5693
5688
  y: e.y
@@ -5704,33 +5699,33 @@ function wx(r) {
5704
5699
  clipping: r.clipping
5705
5700
  };
5706
5701
  }
5707
- function kx(r, h, t, e) {
5708
- const d = ++_x, v = yx(t);
5709
- return performance.now(), (/* @__PURE__ */ new Date()).toISOString(), new Promise((b, B) => {
5710
- pr.set(d, {
5702
+ function kx(r, v, t, e) {
5703
+ const u = ++_x, p = yx(t);
5704
+ return performance.now(), (/* @__PURE__ */ new Date()).toISOString(), new Promise((m, B) => {
5705
+ vr.set(u, {
5711
5706
  resolve: (x) => {
5712
- performance.now(), (/* @__PURE__ */ new Date()).toISOString(), b(x);
5707
+ performance.now(), (/* @__PURE__ */ new Date()).toISOString(), m(x);
5713
5708
  },
5714
5709
  reject: B
5715
5710
  });
5716
- const C = wx(h);
5717
- v.postMessage({ id: d, designBitmap: r, layerData: C, canvasSize: e }, [
5711
+ const C = wx(v);
5712
+ p.postMessage({ id: u, designBitmap: r, layerData: C, canvasSize: e }, [
5718
5713
  r
5719
5714
  ]);
5720
5715
  });
5721
5716
  }
5722
- async function Sx(r, h, t = 0, e, d, v) {
5723
- const b = await it(r, d, v);
5724
- if (!b || b.width === 0 || b.height === 0)
5717
+ async function Sx(r, v, t = 0, e, u, p) {
5718
+ const m = await it(r, u, p);
5719
+ if (!m || m.width === 0 || m.height === 0)
5725
5720
  throw new Error("图片无效:尺寸为 0");
5726
- return await kx(b, h, t, e);
5721
+ return await kx(m, v, t, e);
5727
5722
  }
5728
- function d0(r, h) {
5723
+ function d0(r, v) {
5729
5724
  if (typeof OffscreenCanvas < "u" && typeof document > "u")
5730
- return new OffscreenCanvas(r, h);
5725
+ return new OffscreenCanvas(r, v);
5731
5726
  if (typeof document < "u") {
5732
5727
  const t = document.createElement("canvas");
5733
- return t.width = r, t.height = h, t;
5728
+ return t.width = r, t.height = v, t;
5734
5729
  } else
5735
5730
  throw new Error("无法创建 canvas:不在 Worker 或主线程环境中");
5736
5731
  }
@@ -5738,13 +5733,13 @@ function A0(r) {
5738
5733
  return r.getContext("2d");
5739
5734
  }
5740
5735
  function Fe(r) {
5741
- const h = A0(r);
5742
- if (!h)
5736
+ const v = A0(r);
5737
+ if (!v)
5743
5738
  throw new Error("无法创建 canvas context");
5744
- return h;
5739
+ return v;
5745
5740
  }
5746
5741
  async function Hx(r) {
5747
- const h = performance.now(), t = () => {
5742
+ const v = performance.now(), t = () => {
5748
5743
  try {
5749
5744
  if (globalThis.__DEBUG_RENDER__ === !0 || typeof localStorage < "u" && localStorage.getItem("DEBUG_RENDER") === "1") return !0;
5750
5745
  } catch {
@@ -5752,19 +5747,19 @@ async function Hx(r) {
5752
5747
  return !1;
5753
5748
  }, e = (...c) => {
5754
5749
  t();
5755
- }, d = (...c) => {
5750
+ }, u = (...c) => {
5756
5751
  t();
5757
5752
  }, {
5758
- psdJson: v,
5759
- materialList: b,
5753
+ psdJson: p,
5754
+ materialList: m,
5760
5755
  fabricScreenshotList: B,
5761
5756
  width: C,
5762
5757
  height: x,
5763
5758
  baseUrl: n
5764
5759
  } = r, E = r.maxImageSize;
5765
5760
  e("[renderByJson] 接收到的数据:", {
5766
- psdJsonLayerCount: v.layerList?.length || 0,
5767
- psdJsonLayers: v.layerList?.map((c) => ({
5761
+ psdJsonLayerCount: p.layerList?.length || 0,
5762
+ psdJsonLayers: p.layerList?.map((c) => ({
5768
5763
  name: c.name,
5769
5764
  type: c.type,
5770
5765
  id: c.id,
@@ -5790,11 +5785,11 @@ async function Hx(r) {
5790
5785
  const _ = new URL(c, n).toString();
5791
5786
  return !_.includes("http") && !_.startsWith("data:") && !_.startsWith("blob:") ? void 0 : _;
5792
5787
  } catch (_) {
5793
- d(`[renderByJson] 解析图片 URL 失败: ${c}`, _);
5788
+ u(`[renderByJson] 解析图片 URL 失败: ${c}`, _);
5794
5789
  return;
5795
5790
  }
5796
5791
  }, s = {}, f = /* @__PURE__ */ new Map();
5797
- for (const c of b) {
5792
+ for (const c of m) {
5798
5793
  const A = c.sourceName || c.layerName;
5799
5794
  A && (s[A] = {
5800
5795
  url: c.url
@@ -5802,10 +5797,10 @@ async function Hx(r) {
5802
5797
  url: c.url
5803
5798
  }), f.set(c.layerName, c.url));
5804
5799
  }
5805
- const p = /* @__PURE__ */ new Map();
5800
+ const h = /* @__PURE__ */ new Map();
5806
5801
  for (const c of B)
5807
- p.set(c.id, c.url);
5808
- e("[renderByJson] fabricScreenshotMap:", Array.from(p.entries())), e("[renderByJson] psdJson.layerList 结构:", v.layerList?.map((c) => ({
5802
+ h.set(c.id, c.url);
5803
+ e("[renderByJson] fabricScreenshotMap:", Array.from(h.entries())), e("[renderByJson] psdJson.layerList 结构:", p.layerList?.map((c) => ({
5809
5804
  name: c.name,
5810
5805
  type: c.type,
5811
5806
  id: c.id,
@@ -5816,7 +5811,7 @@ async function Hx(r) {
5816
5811
  const _ = c.color || (c.name && ["粉", "白", "绿", "红", "蓝", "黄", "黑", "灰"].includes(c.name) ? c.name : A);
5817
5812
  if (c.type === "Layer") {
5818
5813
  if (c.imagePath) {
5819
- const z = b.find((P) => {
5814
+ const z = m.find((P) => {
5820
5815
  const L = P.sourceName || P.layerName;
5821
5816
  return !L || !c.imagePath ? !1 : L === c.imagePath || L.endsWith(c.imagePath) || c.imagePath.endsWith(L);
5822
5817
  });
@@ -5826,7 +5821,7 @@ async function Hx(r) {
5826
5821
  }
5827
5822
  if (c.name) {
5828
5823
  if (_) {
5829
- const z = `${_}-${c.name}`, P = b.find((L) => {
5824
+ const z = `${_}-${c.name}`, P = m.find((L) => {
5830
5825
  const I = L.sourceName || L.layerName;
5831
5826
  return I ? (I.split("/").pop() || I).replace(/\.(png|jpg|jpeg|gif|webp)$/i, "").startsWith(`${_}-${c.name}`) : !1;
5832
5827
  });
@@ -5835,7 +5830,7 @@ async function Hx(r) {
5835
5830
  });
5836
5831
  }
5837
5832
  if (c.imagePath && c.name) {
5838
- const z = c.imagePath.split("/").pop() || c.imagePath, P = b.find((L) => {
5833
+ const z = c.imagePath.split("/").pop() || c.imagePath, P = m.find((L) => {
5839
5834
  const I = L.sourceName || L.layerName;
5840
5835
  return I ? (I.split("/").pop() || I) === z : !1;
5841
5836
  });
@@ -5849,34 +5844,34 @@ async function Hx(r) {
5849
5844
  for (const z of c.children)
5850
5845
  z && l(z, _);
5851
5846
  }
5852
- function D(c, A) {
5847
+ function g(c, A) {
5853
5848
  const _ = c.id ?? A;
5854
5849
  if (c.type === "Group" && _)
5855
- if (e(`[renderByJson] processLayer 检查 Group: name="${c.name}", id=${_}, hasFabricScreenshot=${p.has(_)}`), p.has(_)) {
5856
- const z = p.get(_);
5850
+ if (e(`[renderByJson] processLayer 检查 Group: name="${c.name}", id=${_}, hasFabricScreenshot=${h.has(_)}`), h.has(_)) {
5851
+ const z = h.get(_);
5857
5852
  if (e(`[renderByJson] ✅ 找到匹配的 fabricScreenshot: Group id=${_}, name="${c.name}", url=${z.substring(0, 50)}...`), c.children) {
5858
5853
  e(`[renderByJson] Group "${c.name}" 有 ${c.children.length} 个子图层`);
5859
5854
  for (const P of c.children)
5860
5855
  if (P && P.isSmartObject === !0) {
5861
5856
  const L = P?.name || "";
5862
- e(`[renderByJson] 找到智能对象: name="${L}"`), L && !s[L] && (s[L] = {}), L ? (s[L].designImage = z, e(`[renderByJson] ✅ 为智能对象 "${L}" 设置 designImage: ${z.substring(0, 50)}...`)) : d("[renderByJson] ⚠️ 智能对象没有 name,无法设置 designImage");
5857
+ e(`[renderByJson] 找到智能对象: name="${L}"`), L && !s[L] && (s[L] = {}), L ? (s[L].designImage = z, e(`[renderByJson] ✅ 为智能对象 "${L}" 设置 designImage: ${z.substring(0, 50)}...`)) : u("[renderByJson] ⚠️ 智能对象没有 name,无法设置 designImage");
5863
5858
  }
5864
5859
  } else
5865
- d(`[renderByJson] ⚠️ Group id=${_} 没有 children`);
5860
+ u(`[renderByJson] ⚠️ Group id=${_} 没有 children`);
5866
5861
  } else
5867
5862
  e(`[renderByJson] ⚠️ Group id=${_}, name="${c.name}" 没有匹配的 fabricScreenshot`);
5868
5863
  if (c.children)
5869
5864
  for (const z of c.children)
5870
- z && D(z, _);
5865
+ z && g(z, _);
5871
5866
  }
5872
- if (v.layerList)
5873
- for (const c of v.layerList)
5867
+ if (p.layerList)
5868
+ for (const c of p.layerList)
5874
5869
  c && l(c);
5875
- if (v.layerList)
5876
- for (const c of v.layerList)
5877
- c && D(c);
5870
+ if (p.layerList)
5871
+ for (const c of p.layerList)
5872
+ c && g(c);
5878
5873
  const o = Ye([{
5879
- psdJson: v,
5874
+ psdJson: p,
5880
5875
  layerExtrasByName: s
5881
5876
  }], {
5882
5877
  parts: [],
@@ -5884,17 +5879,17 @@ async function Hx(r) {
5884
5879
  });
5885
5880
  if (!o.models || o.models.length === 0)
5886
5881
  throw new Error("无法解析 JSON 数据");
5887
- const u = o.models[0];
5888
- if (!u.psdPartData)
5882
+ const d = o.models[0];
5883
+ if (!d.psdPartData)
5889
5884
  throw new Error("JSON 数据中没有 psdPartData");
5890
- const m = u.width, g = u.height, y = d0(m, g), k = Fe(y), R = [], F = (c) => {
5885
+ const b = d.width, D = d.height, y = d0(b, D), k = Fe(y), R = [], F = (c) => {
5891
5886
  if (c.url && s[c.url])
5892
5887
  return s[c.url];
5893
5888
  if (c.url) {
5894
5889
  const A = c.url.split("/").pop() || c.url;
5895
5890
  if (s[A])
5896
5891
  return s[A];
5897
- const _ = b.find((z) => {
5892
+ const _ = m.find((z) => {
5898
5893
  const P = z.sourceName || z.layerName;
5899
5894
  return !P || !c.url ? !1 : (P.split("/").pop() || P) === A || P === c.url || P.endsWith(c.url) || c.url.endsWith(P);
5900
5895
  });
@@ -5905,16 +5900,16 @@ async function Hx(r) {
5905
5900
  }
5906
5901
  }
5907
5902
  };
5908
- for (let c = 0; c < u.psdPartData.length; c++) {
5909
- const A = u.psdPartData[c], _ = F(A);
5903
+ for (let c = 0; c < d.psdPartData.length; c++) {
5904
+ const A = d.psdPartData[c], _ = F(A);
5910
5905
  if (A.type === F0.Layer) {
5911
5906
  if (!_ || !_.url) {
5912
- d(`图层 "${A.name}" 没有匹配的 material,跳过`);
5907
+ u(`图层 "${A.name}" 没有匹配的 material,跳过`);
5913
5908
  continue;
5914
5909
  }
5915
5910
  const z = _.url, P = a(z);
5916
5911
  if (!P) {
5917
- d(`图层 "${A.name}" 没有有效的 url,跳过`);
5912
+ u(`图层 "${A.name}" 没有有效的 url,跳过`);
5918
5913
  continue;
5919
5914
  }
5920
5915
  R.push({
@@ -5934,7 +5929,7 @@ async function Hx(r) {
5934
5929
  if (!L && P.imagePath && (L = s[P.imagePath], !L)) {
5935
5930
  const K = P.imagePath.split("/").pop() || P.imagePath;
5936
5931
  if (L = s[K], !L) {
5937
- const G = b.find((Y) => {
5932
+ const G = m.find((Y) => {
5938
5933
  const r0 = Y.sourceName || Y.layerName;
5939
5934
  return !r0 || !P.imagePath ? !1 : (r0.split("/").pop() || r0) === K || r0 === P.imagePath || r0.endsWith(P.imagePath) || P.imagePath.endsWith(r0);
5940
5935
  });
@@ -5953,7 +5948,7 @@ async function Hx(r) {
5953
5948
  continue;
5954
5949
  I = G;
5955
5950
  }
5956
- const Z = (A.partId ?? A.id) * 100 + z, Q = Qe(Ze(P)), o0 = { width: m, height: g };
5951
+ const Z = (A.partId ?? A.id) * 100 + z, Q = Qe(Ze(P)), o0 = { width: b, height: D };
5957
5952
  R.push({
5958
5953
  index: c + z * 0.01,
5959
5954
  type: "group",
@@ -5979,11 +5974,11 @@ async function Hx(r) {
5979
5974
  const _ = c.task.type === "group" && c.task.smartObject?.layerOrder !== void 0 ? c.task.smartObject.layerOrder : c.task.partData.layerOrder ?? c.task.index, z = A.task.type === "group" && A.task.smartObject?.layerOrder !== void 0 ? A.task.smartObject.layerOrder : A.task.partData.layerOrder ?? A.task.index;
5980
5975
  return _ - z;
5981
5976
  });
5982
- let $ = d0(m, g), W = A0($), O = !1, q = "normal";
5977
+ let $ = d0(b, D), W = A0($), O = !1, q = "normal";
5983
5978
  for (let c = 0; c < H.length; c++) {
5984
5979
  const { task: A, imageBitmap: _ } = H[c];
5985
5980
  if (!_) {
5986
- d(`[renderByJson] 图层 "${A.partData.name}" 没有 imageBitmap,跳过`);
5981
+ u(`[renderByJson] 图层 "${A.partData.name}" 没有 imageBitmap,跳过`);
5987
5982
  continue;
5988
5983
  }
5989
5984
  const { partData: z } = A, P = z.bounds;
@@ -6008,10 +6003,10 @@ async function Hx(r) {
6008
6003
  clipping: I
6009
6004
  }), !I && Q) {
6010
6005
  if (O = !0, q = z.blendMode || "normal", W) {
6011
- if (W.clearRect(0, 0, m, g), W.globalCompositeOperation = "source-over", W.globalAlpha = L, A.type === "group" && A.smartObject)
6006
+ if (W.clearRect(0, 0, b, D), W.globalCompositeOperation = "source-over", W.globalAlpha = L, A.type === "group" && A.smartObject)
6012
6007
  if (A.maskData) {
6013
- const K = d0(m, g), G = A0(K);
6014
- G && (G.drawImage(_, 0, 0), lr(G, A.maskData), W.drawImage(K, 0, 0));
6008
+ const K = d0(b, D), G = A0(K);
6009
+ G && (G.drawImage(_, 0, 0), dr(G, A.maskData), W.drawImage(K, 0, 0));
6015
6010
  } else
6016
6011
  W.drawImage(_, 0, 0);
6017
6012
  else A.type === "layer" && (P ? W.drawImage(
@@ -6027,8 +6022,8 @@ async function Hx(r) {
6027
6022
  if (W) {
6028
6023
  if (W.globalCompositeOperation = "source-atop", W.globalAlpha = L, A.type === "group" && A.smartObject)
6029
6024
  if (A.maskData) {
6030
- const K = d0(m, g), G = A0(K);
6031
- G && (G.drawImage(_, 0, 0), lr(G, A.maskData), W.drawImage(K, 0, 0));
6025
+ const K = d0(b, D), G = A0(K);
6026
+ G && (G.drawImage(_, 0, 0), dr(G, A.maskData), W.drawImage(K, 0, 0));
6032
6027
  } else
6033
6028
  W.drawImage(_, 0, 0);
6034
6029
  else A.type === "layer" && (P ? W.drawImage(
@@ -6043,8 +6038,8 @@ async function Hx(r) {
6043
6038
  } else {
6044
6039
  if (k.globalCompositeOperation = zr(z.blendMode), k.globalAlpha = L, A.type === "group" && A.smartObject)
6045
6040
  if (A.maskData) {
6046
- const K = d0(m, g), G = A0(K);
6047
- G && (G.drawImage(_, 0, 0), lr(G, A.maskData), k.drawImage(K, 0, 0));
6041
+ const K = d0(b, D), G = A0(K);
6042
+ G && (G.drawImage(_, 0, 0), dr(G, A.maskData), k.drawImage(K, 0, 0));
6048
6043
  } else
6049
6044
  k.drawImage(_, 0, 0);
6050
6045
  else A.type === "layer" && (P ? k.drawImage(
@@ -6059,22 +6054,22 @@ async function Hx(r) {
6059
6054
  O && !Q && (k.globalCompositeOperation = zr(q), k.drawImage($, 0, 0), k.globalCompositeOperation = "source-over", O = !1);
6060
6055
  }
6061
6056
  $ = null, W = null;
6062
- let U = y, T = m, N = g;
6057
+ let U = y, T = b, N = D;
6063
6058
  if (C !== void 0 || x !== void 0) {
6064
6059
  if (C !== void 0 && x !== void 0)
6065
6060
  T = C, N = x;
6066
6061
  else if (C !== void 0) {
6067
- const A = C / m;
6068
- T = C, N = Math.round(g * A);
6062
+ const A = C / b;
6063
+ T = C, N = Math.round(D * A);
6069
6064
  } else if (x !== void 0) {
6070
- const A = x / g;
6071
- T = Math.round(m * A), N = x;
6065
+ const A = x / D;
6066
+ T = Math.round(b * A), N = x;
6072
6067
  }
6073
6068
  U = d0(T, N);
6074
6069
  const c = Fe(U);
6075
- c.imageSmoothingEnabled = !0, c.imageSmoothingQuality = "high", c.drawImage(y, 0, 0, m, g, 0, 0, T, N), e(`[renderByJson] 已缩放结果: ${m}x${g} -> ${T}x${N}`);
6070
+ c.imageSmoothingEnabled = !0, c.imageSmoothingQuality = "high", c.drawImage(y, 0, 0, b, D, 0, 0, T, N), e(`[renderByJson] 已缩放结果: ${b}x${D} -> ${T}x${N}`);
6076
6071
  }
6077
- const S = performance.now() - h;
6072
+ const S = performance.now() - v;
6078
6073
  return e(`[renderByJson] 绘制完成,总渲染时间: ${Math.round(S)}ms`), {
6079
6074
  canvas: U,
6080
6075
  width: T,
@@ -6086,10 +6081,10 @@ const $x = async (r) => {
6086
6081
  return t ? createImageBitmap(t) : null;
6087
6082
  };
6088
6083
  self.onmessage = async (r) => {
6089
- const h = r.data;
6090
- if (h && typeof h == "object" && "type" in h && h.type === "SET_LICENSE") {
6091
- const e = h;
6092
- gx({
6084
+ const v = r.data;
6085
+ if (v && typeof v == "object" && "type" in v && v.type === "SET_LICENSE") {
6086
+ const e = v;
6087
+ Dx({
6093
6088
  token: e.licenseToken,
6094
6089
  apiUrl: e.licenseApiUrl,
6095
6090
  deviceId: e.deviceId,
@@ -6097,7 +6092,7 @@ self.onmessage = async (r) => {
6097
6092
  });
6098
6093
  return;
6099
6094
  }
6100
- const t = h;
6095
+ const t = v;
6101
6096
  try {
6102
6097
  const e = await $x(t.renderData);
6103
6098
  self.postMessage({ id: t.id, bitmap: e }, e ? [e] : []);