@ranty/ranty-sdk 3.2.0-beta.0 → 3.2.0-beta.2

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.
@@ -916,7 +916,7 @@ function le(t) {
916
916
  */
917
917
  var H1;
918
918
  ((H1 = window.HTMLSlotElement) === null || H1 === void 0 ? void 0 : H1.prototype.assignedElements) != null;
919
- const aS = "@ranty/ranty-sdk", lS = "3.2.0-beta.0", dS = "Ranty sdk", cS = "dist/index.js", AS = {
919
+ const aS = "@ranty/ranty-sdk", lS = "3.2.0-beta.2", dS = "Ranty sdk", cS = "dist/index.js", AS = {
920
920
  ".": "./dist/index.js"
921
921
  }, uS = "types/index.d.ts", pS = [
922
922
  "dist",
@@ -1456,10 +1456,10 @@ const u8 = (t) => {
1456
1456
  setImmediate: PC,
1457
1457
  asap: g8
1458
1458
  };
1459
- function kt(t, e, n, r, s) {
1459
+ function St(t, e, n, r, s) {
1460
1460
  Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = t, this.name = "AxiosError", e && (this.code = e), n && (this.config = n), r && (this.request = r), s && (this.response = s, this.status = s.status ? s.status : null);
1461
1461
  }
1462
- Ie.inherits(kt, Error, {
1462
+ Ie.inherits(St, Error, {
1463
1463
  toJSON: function() {
1464
1464
  return {
1465
1465
  // Standard
@@ -1480,7 +1480,7 @@ Ie.inherits(kt, Error, {
1480
1480
  };
1481
1481
  }
1482
1482
  });
1483
- const jC = kt.prototype, FC = {};
1483
+ const jC = St.prototype, FC = {};
1484
1484
  [
1485
1485
  "ERR_BAD_OPTION_VALUE",
1486
1486
  "ERR_BAD_OPTION",
@@ -1498,13 +1498,13 @@ const jC = kt.prototype, FC = {};
1498
1498
  ].forEach((t) => {
1499
1499
  FC[t] = { value: t };
1500
1500
  });
1501
- Object.defineProperties(kt, FC);
1501
+ Object.defineProperties(St, FC);
1502
1502
  Object.defineProperty(jC, "isAxiosError", { value: !0 });
1503
- kt.from = (t, e, n, r, s, i) => {
1503
+ St.from = (t, e, n, r, s, i) => {
1504
1504
  const o = Object.create(jC);
1505
1505
  return Ie.toFlatObject(t, o, function(d) {
1506
1506
  return d !== Error.prototype;
1507
- }, (a) => a !== "isAxiosError"), kt.call(o, t.message, e, n, r, s), o.cause = t, o.name = t.name, i && Object.assign(o, i), o;
1507
+ }, (a) => a !== "isAxiosError"), St.call(o, t.message, e, n, r, s), o.cause = t, o.name = t.name, i && Object.assign(o, i), o;
1508
1508
  };
1509
1509
  const f8 = null;
1510
1510
  function mv(t) {
@@ -1543,7 +1543,7 @@ function Qm(t, e, n) {
1543
1543
  if (Ie.isDate(m))
1544
1544
  return m.toISOString();
1545
1545
  if (!d && Ie.isBlob(m))
1546
- throw new kt("Blob is not supported. Use a Buffer instead.");
1546
+ throw new St("Blob is not supported. Use a Buffer instead.");
1547
1547
  return Ie.isArrayBuffer(m) || Ie.isTypedArray(m) ? d && typeof Blob == "function" ? new Blob([m]) : Buffer.from(m) : m;
1548
1548
  }
1549
1549
  function c(m, y, _) {
@@ -1791,7 +1791,7 @@ const d2 = {
1791
1791
  return JSON.parse(e);
1792
1792
  } catch (a) {
1793
1793
  if (o)
1794
- throw a.name === "SyntaxError" ? kt.from(a, kt.ERR_BAD_RESPONSE, this, null, this.response) : a;
1794
+ throw a.name === "SyntaxError" ? St.from(a, St.ERR_BAD_RESPONSE, this, null, this.response) : a;
1795
1795
  }
1796
1796
  }
1797
1797
  return e;
@@ -2015,9 +2015,9 @@ Ie.reduceDescriptors(Mm.prototype, ({ value: t }, e) => {
2015
2015
  };
2016
2016
  });
2017
2017
  Ie.freezeMethods(Mm);
2018
- const bi = Mm;
2018
+ const wi = Mm;
2019
2019
  function V1(t, e) {
2020
- const n = this || c2, r = e || n, s = bi.from(r.headers);
2020
+ const n = this || c2, r = e || n, s = wi.from(r.headers);
2021
2021
  let i = r.data;
2022
2022
  return Ie.forEach(t, function(a) {
2023
2023
  i = a.call(n, i, s.normalize(), e ? e.status : void 0);
@@ -2027,16 +2027,16 @@ function QC(t) {
2027
2027
  return !!(t && t.__CANCEL__);
2028
2028
  }
2029
2029
  function HA(t, e, n) {
2030
- kt.call(this, t == null ? "canceled" : t, kt.ERR_CANCELED, e, n), this.name = "CanceledError";
2030
+ St.call(this, t == null ? "canceled" : t, St.ERR_CANCELED, e, n), this.name = "CanceledError";
2031
2031
  }
2032
- Ie.inherits(HA, kt, {
2032
+ Ie.inherits(HA, St, {
2033
2033
  __CANCEL__: !0
2034
2034
  });
2035
2035
  function MC(t, e, n) {
2036
2036
  const r = n.config.validateStatus;
2037
- !n.status || !r || r(n.status) ? t(n) : e(new kt(
2037
+ !n.status || !r || r(n.status) ? t(n) : e(new St(
2038
2038
  "Request failed with status code " + n.status,
2039
- [kt.ERR_BAD_REQUEST, kt.ERR_BAD_RESPONSE][Math.floor(n.status / 100) - 4],
2039
+ [St.ERR_BAD_REQUEST, St.ERR_BAD_RESPONSE][Math.floor(n.status / 100) - 4],
2040
2040
  n.config,
2041
2041
  n.request,
2042
2042
  n
@@ -2140,7 +2140,7 @@ function zC(t, e, n) {
2140
2140
  let r = !q8(e);
2141
2141
  return t && (r || n == !1) ? V8(t, e) : e;
2142
2142
  }
2143
- const M5 = (t) => t instanceof bi ? Ve({}, t) : t;
2143
+ const M5 = (t) => t instanceof wi ? Ve({}, t) : t;
2144
2144
  function Od(t, e) {
2145
2145
  e = e || {};
2146
2146
  const n = {};
@@ -2210,7 +2210,7 @@ function Od(t, e) {
2210
2210
  const HC = (t) => {
2211
2211
  const e = Od({}, t);
2212
2212
  let { data: n, withXSRFToken: r, xsrfHeaderName: s, xsrfCookieName: i, headers: o, auth: a } = e;
2213
- e.headers = o = bi.from(o), e.url = OC(zC(e.baseURL, e.url, e.allowAbsoluteUrls), t.params, t.paramsSerializer), a && o.set(
2213
+ e.headers = o = wi.from(o), e.url = OC(zC(e.baseURL, e.url, e.allowAbsoluteUrls), t.params, t.paramsSerializer), a && o.set(
2214
2214
  "Authorization",
2215
2215
  "Basic " + btoa((a.username || "") + ":" + (a.password ? unescape(encodeURIComponent(a.password)) : ""))
2216
2216
  );
@@ -2232,7 +2232,7 @@ const HC = (t) => {
2232
2232
  return new Promise(function(n, r) {
2233
2233
  const s = HC(t);
2234
2234
  let i = s.data;
2235
- const o = bi.from(s.headers).normalize();
2235
+ const o = wi.from(s.headers).normalize();
2236
2236
  let { responseType: a, onUploadProgress: d, onDownloadProgress: l } = s, c, u, h, p, m;
2237
2237
  function y() {
2238
2238
  p && p(), m && m(), s.cancelToken && s.cancelToken.unsubscribe(c), s.signal && s.signal.removeEventListener("abort", c);
@@ -2242,7 +2242,7 @@ const HC = (t) => {
2242
2242
  function b() {
2243
2243
  if (!_)
2244
2244
  return;
2245
- const I = bi.from(
2245
+ const I = wi.from(
2246
2246
  "getAllResponseHeaders" in _ && _.getAllResponseHeaders()
2247
2247
  ), V = {
2248
2248
  data: !a || a === "text" || a === "json" ? _.responseText : _.response,
@@ -2261,15 +2261,15 @@ const HC = (t) => {
2261
2261
  "onloadend" in _ ? _.onloadend = b : _.onreadystatechange = function() {
2262
2262
  !_ || _.readyState !== 4 || _.status === 0 && !(_.responseURL && _.responseURL.indexOf("file:") === 0) || setTimeout(b);
2263
2263
  }, _.onabort = function() {
2264
- _ && (r(new kt("Request aborted", kt.ECONNABORTED, t, _)), _ = null);
2264
+ _ && (r(new St("Request aborted", St.ECONNABORTED, t, _)), _ = null);
2265
2265
  }, _.onerror = function() {
2266
- r(new kt("Network Error", kt.ERR_NETWORK, t, _)), _ = null;
2266
+ r(new St("Network Error", St.ERR_NETWORK, t, _)), _ = null;
2267
2267
  }, _.ontimeout = function() {
2268
2268
  let N = s.timeout ? "timeout of " + s.timeout + "ms exceeded" : "timeout exceeded";
2269
2269
  const V = s.transitional || NC;
2270
- s.timeoutErrorMessage && (N = s.timeoutErrorMessage), r(new kt(
2270
+ s.timeoutErrorMessage && (N = s.timeoutErrorMessage), r(new St(
2271
2271
  N,
2272
- V.clarifyTimeoutError ? kt.ETIMEDOUT : kt.ECONNABORTED,
2272
+ V.clarifyTimeoutError ? St.ETIMEDOUT : St.ECONNABORTED,
2273
2273
  t,
2274
2274
  _
2275
2275
  )), _ = null;
@@ -2280,7 +2280,7 @@ const HC = (t) => {
2280
2280
  }, s.cancelToken && s.cancelToken.subscribe(c), s.signal && (s.signal.aborted ? c() : s.signal.addEventListener("abort", c)));
2281
2281
  const x = L8(s.url);
2282
2282
  if (x && jr.protocols.indexOf(x) === -1) {
2283
- r(new kt("Unsupported protocol " + x + ":", kt.ERR_BAD_REQUEST, t));
2283
+ r(new St("Unsupported protocol " + x + ":", St.ERR_BAD_REQUEST, t));
2284
2284
  return;
2285
2285
  }
2286
2286
  _.send(i || null);
@@ -2293,11 +2293,11 @@ const HC = (t) => {
2293
2293
  if (!s) {
2294
2294
  s = !0, a();
2295
2295
  const c = l instanceof Error ? l : this.reason;
2296
- r.abort(c instanceof kt ? c : new HA(c instanceof Error ? c.message : c));
2296
+ r.abort(c instanceof St ? c : new HA(c instanceof Error ? c.message : c));
2297
2297
  }
2298
2298
  };
2299
2299
  let o = e && setTimeout(() => {
2300
- o = null, i(new kt(`timeout ${e} of ms exceeded`, kt.ETIMEDOUT));
2300
+ o = null, i(new St(`timeout ${e} of ms exceeded`, St.ETIMEDOUT));
2301
2301
  }, e);
2302
2302
  const a = () => {
2303
2303
  t && (o && clearTimeout(o), o = null, t.forEach((l) => {
@@ -2408,7 +2408,7 @@ const HC = (t) => {
2408
2408
  zm && ((t) => {
2409
2409
  ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((e) => {
2410
2410
  !Qf[e] && (Qf[e] = Ie.isFunction(t[e]) ? (n) => n[e]() : (n, r) => {
2411
- throw new kt(`Response type '${e}' is not supported`, kt.ERR_NOT_SUPPORT, r);
2411
+ throw new St(`Response type '${e}' is not supported`, St.ERR_NOT_SUPPORT, r);
2412
2412
  });
2413
2413
  });
2414
2414
  })(new Response());
@@ -2498,7 +2498,7 @@ const tI = (t) => ce(void 0, null, function* () {
2498
2498
  return !I && y && y(), yield new Promise((V, z) => {
2499
2499
  MC(V, z, {
2500
2500
  data: N,
2501
- headers: bi.from(x.headers),
2501
+ headers: wi.from(x.headers),
2502
2502
  status: x.status,
2503
2503
  statusText: x.statusText,
2504
2504
  config: t,
@@ -2507,11 +2507,11 @@ const tI = (t) => ce(void 0, null, function* () {
2507
2507
  });
2508
2508
  } catch (b) {
2509
2509
  throw y && y(), b && b.name === "TypeError" && /fetch/i.test(b.message) ? Object.assign(
2510
- new kt("Network Error", kt.ERR_NETWORK, t, m),
2510
+ new St("Network Error", St.ERR_NETWORK, t, m),
2511
2511
  {
2512
2512
  cause: b.cause || b
2513
2513
  }
2514
- ) : kt.from(b, b && b.code, t, m);
2514
+ ) : St.from(b, b && b.code, t, m);
2515
2515
  }
2516
2516
  })), bv = {
2517
2517
  http: f8,
@@ -2537,7 +2537,7 @@ const q5 = (t) => `- ${t}`, sI = (t) => Ie.isFunction(t) || t === null || t ===
2537
2537
  n = t[i];
2538
2538
  let o;
2539
2539
  if (r = n, !sI(n) && (r = bv[(o = String(n)).toLowerCase()], r === void 0))
2540
- throw new kt(`Unknown adapter '${o}'`);
2540
+ throw new St(`Unknown adapter '${o}'`);
2541
2541
  if (r)
2542
2542
  break;
2543
2543
  s[o || "#" + i] = r;
@@ -2549,7 +2549,7 @@ const q5 = (t) => `- ${t}`, sI = (t) => Ie.isFunction(t) || t === null || t ===
2549
2549
  let o = e ? i.length > 1 ? `since :
2550
2550
  ` + i.map(q5).join(`
2551
2551
  `) : " " + q5(i[0]) : "as no adapter specified";
2552
- throw new kt(
2552
+ throw new St(
2553
2553
  "There is no suitable adapter to dispatch the request " + o,
2554
2554
  "ERR_NOT_SUPPORT"
2555
2555
  );
@@ -2563,7 +2563,7 @@ function K1(t) {
2563
2563
  throw new HA(null, t);
2564
2564
  }
2565
2565
  function V5(t) {
2566
- return K1(t), t.headers = bi.from(t.headers), t.data = V1.call(
2566
+ return K1(t), t.headers = wi.from(t.headers), t.data = V1.call(
2567
2567
  t,
2568
2568
  t.transformRequest
2569
2569
  ), ["post", "put", "patch"].indexOf(t.method) !== -1 && t.headers.setContentType("application/x-www-form-urlencoded", !1), KC.getAdapter(t.adapter || c2.adapter)(t).then(function(r) {
@@ -2571,13 +2571,13 @@ function V5(t) {
2571
2571
  t,
2572
2572
  t.transformResponse,
2573
2573
  r
2574
- ), r.headers = bi.from(r.headers), r;
2574
+ ), r.headers = wi.from(r.headers), r;
2575
2575
  }, function(r) {
2576
2576
  return QC(r) || (K1(t), r && r.response && (r.response.data = V1.call(
2577
2577
  t,
2578
2578
  t.transformResponse,
2579
2579
  r.response
2580
- ), r.response.headers = bi.from(r.response.headers))), Promise.reject(r);
2580
+ ), r.response.headers = wi.from(r.response.headers))), Promise.reject(r);
2581
2581
  });
2582
2582
  }
2583
2583
  const GC = "1.8.4", Hm = {};
@@ -2593,9 +2593,9 @@ Hm.transitional = function(e, n, r) {
2593
2593
  }
2594
2594
  return (i, o, a) => {
2595
2595
  if (e === !1)
2596
- throw new kt(
2596
+ throw new St(
2597
2597
  s(o, " has been removed" + (n ? " in " + n : "")),
2598
- kt.ERR_DEPRECATED
2598
+ St.ERR_DEPRECATED
2599
2599
  );
2600
2600
  return n && !K5[o] && (K5[o] = !0, console.warn(
2601
2601
  s(
@@ -2610,7 +2610,7 @@ Hm.spelling = function(e) {
2610
2610
  };
2611
2611
  function iI(t, e, n) {
2612
2612
  if (typeof t != "object")
2613
- throw new kt("options must be an object", kt.ERR_BAD_OPTION_VALUE);
2613
+ throw new St("options must be an object", St.ERR_BAD_OPTION_VALUE);
2614
2614
  const r = Object.keys(t);
2615
2615
  let s = r.length;
2616
2616
  for (; s-- > 0; ) {
@@ -2618,11 +2618,11 @@ function iI(t, e, n) {
2618
2618
  if (o) {
2619
2619
  const a = t[i], d = a === void 0 || o(a, i, t);
2620
2620
  if (d !== !0)
2621
- throw new kt("option " + i + " must be " + d, kt.ERR_BAD_OPTION_VALUE);
2621
+ throw new St("option " + i + " must be " + d, St.ERR_BAD_OPTION_VALUE);
2622
2622
  continue;
2623
2623
  }
2624
2624
  if (n !== !0)
2625
- throw new kt("Unknown option " + i, kt.ERR_BAD_OPTION);
2625
+ throw new St("Unknown option " + i, St.ERR_BAD_OPTION);
2626
2626
  }
2627
2627
  }
2628
2628
  const gf = {
@@ -2688,7 +2688,7 @@ class Mf {
2688
2688
  (m) => {
2689
2689
  delete i[m];
2690
2690
  }
2691
- ), n.headers = bi.concat(o, i);
2691
+ ), n.headers = wi.concat(o, i);
2692
2692
  const a = [];
2693
2693
  let d = !0;
2694
2694
  this.interceptors.request.forEach(function(y) {
@@ -2921,7 +2921,7 @@ Kn.CancelToken = oI;
2921
2921
  Kn.isCancel = QC;
2922
2922
  Kn.VERSION = GC;
2923
2923
  Kn.toFormData = Qm;
2924
- Kn.AxiosError = kt;
2924
+ Kn.AxiosError = St;
2925
2925
  Kn.Cancel = Kn.CanceledError;
2926
2926
  Kn.all = function(e) {
2927
2927
  return Promise.all(e);
@@ -2929,13 +2929,13 @@ Kn.all = function(e) {
2929
2929
  Kn.spread = aI;
2930
2930
  Kn.isAxiosError = lI;
2931
2931
  Kn.mergeConfig = Od;
2932
- Kn.AxiosHeaders = bi;
2932
+ Kn.AxiosHeaders = wi;
2933
2933
  Kn.formToJSON = (t) => LC(Ie.isHTMLForm(t) ? new FormData(t) : t);
2934
2934
  Kn.getAdapter = KC.getAdapter;
2935
2935
  Kn.HttpStatusCode = dI;
2936
2936
  Kn.default = Kn;
2937
2937
  const u2 = Kn;
2938
- var wi = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
2938
+ var _i = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
2939
2939
  function cI(t) {
2940
2940
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
2941
2941
  }
@@ -3151,7 +3151,7 @@ pl.isIdempotentRequestError = $C;
3151
3151
  pl.isNetworkOrIdempotentRequestError = eB;
3152
3152
  pl.exponentialDelay = yI;
3153
3153
  pl.isRetryableError = h2;
3154
- var tB = {}, BA = {}, eh = {}, xI = wi && wi.__awaiter || function(t, e, n, r) {
3154
+ var tB = {}, BA = {}, eh = {}, xI = _i && _i.__awaiter || function(t, e, n, r) {
3155
3155
  function s(i) {
3156
3156
  return i instanceof n ? i : new n(function(o) {
3157
3157
  o(i);
@@ -3177,7 +3177,7 @@ var tB = {}, BA = {}, eh = {}, xI = wi && wi.__awaiter || function(t, e, n, r) {
3177
3177
  }
3178
3178
  l((r = r.apply(t, e || [])).next());
3179
3179
  });
3180
- }, CI = wi && wi.__generator || function(t, e) {
3180
+ }, CI = _i && _i.__generator || function(t, e) {
3181
3181
  var n = { label: 0, sent: function() {
3182
3182
  if (i[0] & 1)
3183
3183
  throw i[1];
@@ -3275,7 +3275,7 @@ var BI = function() {
3275
3275
  }, t;
3276
3276
  }();
3277
3277
  eh.ReCaptchaInstance = BI;
3278
- var xv = wi && wi.__assign || function() {
3278
+ var xv = _i && _i.__assign || function() {
3279
3279
  return xv = Object.assign || function(t) {
3280
3280
  for (var e, n = 1, r = arguments.length; n < r; n++) {
3281
3281
  e = arguments[n];
@@ -4127,7 +4127,7 @@ var W1 = (
4127
4127
  return this.tagClass === 0 && this.tagNumber === 0;
4128
4128
  }, t;
4129
4129
  }()
4130
- ), ol, zI = 244837814094590, n_ = (zI & 16777215) == 15715070, zr = [2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 101, 103, 107, 109, 113, 127, 131, 137, 139, 149, 151, 157, 163, 167, 173, 179, 181, 191, 193, 197, 199, 211, 223, 227, 229, 233, 239, 241, 251, 257, 263, 269, 271, 277, 281, 283, 293, 307, 311, 313, 317, 331, 337, 347, 349, 353, 359, 367, 373, 379, 383, 389, 397, 401, 409, 419, 421, 431, 433, 439, 443, 449, 457, 461, 463, 467, 479, 487, 491, 499, 503, 509, 521, 523, 541, 547, 557, 563, 569, 571, 577, 587, 593, 599, 601, 607, 613, 617, 619, 631, 641, 643, 647, 653, 659, 661, 673, 677, 683, 691, 701, 709, 719, 727, 733, 739, 743, 751, 757, 761, 769, 773, 787, 797, 809, 811, 821, 823, 827, 829, 839, 853, 857, 859, 863, 877, 881, 883, 887, 907, 911, 919, 929, 937, 941, 947, 953, 967, 971, 977, 983, 991, 997], HI = (1 << 26) / zr[zr.length - 1], It = (
4130
+ ), ol, zI = 244837814094590, n_ = (zI & 16777215) == 15715070, zr = [2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 101, 103, 107, 109, 113, 127, 131, 137, 139, 149, 151, 157, 163, 167, 173, 179, 181, 191, 193, 197, 199, 211, 223, 227, 229, 233, 239, 241, 251, 257, 263, 269, 271, 277, 281, 283, 293, 307, 311, 313, 317, 331, 337, 347, 349, 353, 359, 367, 373, 379, 383, 389, 397, 401, 409, 419, 421, 431, 433, 439, 443, 449, 457, 461, 463, 467, 479, 487, 491, 499, 503, 509, 521, 523, 541, 547, 557, 563, 569, 571, 577, 587, 593, 599, 601, 607, 613, 617, 619, 631, 641, 643, 647, 653, 659, 661, 673, 677, 683, 691, 701, 709, 719, 727, 733, 739, 743, 751, 757, 761, 769, 773, 787, 797, 809, 811, 821, 823, 827, 829, 839, 853, 857, 859, 863, 877, 881, 883, 887, 907, 911, 919, 929, 937, 941, 947, 953, 967, 971, 977, 983, 991, 997], HI = (1 << 26) / zr[zr.length - 1], Tt = (
4131
4131
  /** @class */
4132
4132
  function() {
4133
4133
  function t(e, n, r) {
@@ -4688,7 +4688,7 @@ var W1 = (
4688
4688
  }
4689
4689
  return t.prototype.convert = function(e) {
4690
4690
  var n = Ft();
4691
- return e.abs().dlShiftTo(this.m.t, n), n.divRemTo(this.m, null, n), e.s < 0 && n.compareTo(It.ZERO) > 0 && this.m.subTo(n, n), n;
4691
+ return e.abs().dlShiftTo(this.m.t, n), n.divRemTo(this.m, null, n), e.s < 0 && n.compareTo(Tt.ZERO) > 0 && this.m.subTo(n, n), n;
4692
4692
  }, t.prototype.revert = function(e) {
4693
4693
  var n = Ft();
4694
4694
  return e.copyTo(n), this.reduce(n), n;
@@ -4711,7 +4711,7 @@ var W1 = (
4711
4711
  /** @class */
4712
4712
  function() {
4713
4713
  function t(e) {
4714
- this.m = e, this.r2 = Ft(), this.q3 = Ft(), It.ONE.dlShiftTo(2 * e.t, this.r2), this.mu = this.r2.divide(e);
4714
+ this.m = e, this.r2 = Ft(), this.q3 = Ft(), Tt.ONE.dlShiftTo(2 * e.t, this.r2), this.mu = this.r2.divide(e);
4715
4715
  }
4716
4716
  return t.prototype.convert = function(e) {
4717
4717
  if (e.s < 0 || e.t > 2 * this.m.t)
@@ -4735,38 +4735,38 @@ var W1 = (
4735
4735
  }()
4736
4736
  );
4737
4737
  function Ft() {
4738
- return new It(null);
4738
+ return new Tt(null);
4739
4739
  }
4740
4740
  function Bn(t, e) {
4741
- return new It(t, e);
4741
+ return new Tt(t, e);
4742
4742
  }
4743
4743
  var i_ = typeof navigator != "undefined";
4744
- i_ && n_ && navigator.appName == "Microsoft Internet Explorer" ? (It.prototype.am = function(e, n, r, s, i, o) {
4744
+ i_ && n_ && navigator.appName == "Microsoft Internet Explorer" ? (Tt.prototype.am = function(e, n, r, s, i, o) {
4745
4745
  for (var a = n & 32767, d = n >> 15; --o >= 0; ) {
4746
4746
  var l = this[e] & 32767, c = this[e++] >> 15, u = d * l + c * a;
4747
4747
  l = a * l + ((u & 32767) << 15) + r[s] + (i & 1073741823), i = (l >>> 30) + (u >>> 15) + d * c + (i >>> 30), r[s++] = l & 1073741823;
4748
4748
  }
4749
4749
  return i;
4750
- }, ol = 30) : i_ && n_ && navigator.appName != "Netscape" ? (It.prototype.am = function(e, n, r, s, i, o) {
4750
+ }, ol = 30) : i_ && n_ && navigator.appName != "Netscape" ? (Tt.prototype.am = function(e, n, r, s, i, o) {
4751
4751
  for (; --o >= 0; ) {
4752
4752
  var a = n * this[e++] + r[s] + i;
4753
4753
  i = Math.floor(a / 67108864), r[s++] = a & 67108863;
4754
4754
  }
4755
4755
  return i;
4756
- }, ol = 26) : (It.prototype.am = function(e, n, r, s, i, o) {
4756
+ }, ol = 26) : (Tt.prototype.am = function(e, n, r, s, i, o) {
4757
4757
  for (var a = n & 16383, d = n >> 14; --o >= 0; ) {
4758
4758
  var l = this[e] & 16383, c = this[e++] >> 14, u = d * l + c * a;
4759
4759
  l = a * l + ((u & 16383) << 14) + r[s] + i, i = (l >> 28) + (u >> 14) + d * c, r[s++] = l & 268435455;
4760
4760
  }
4761
4761
  return i;
4762
4762
  }, ol = 28);
4763
- It.prototype.DB = ol;
4764
- It.prototype.DM = (1 << ol) - 1;
4765
- It.prototype.DV = 1 << ol;
4763
+ Tt.prototype.DB = ol;
4764
+ Tt.prototype.DM = (1 << ol) - 1;
4765
+ Tt.prototype.DV = 1 << ol;
4766
4766
  var g2 = 52;
4767
- It.prototype.FV = Math.pow(2, g2);
4768
- It.prototype.F1 = g2 - ol;
4769
- It.prototype.F2 = 2 * ol - g2;
4767
+ Tt.prototype.FV = Math.pow(2, g2);
4768
+ Tt.prototype.F1 = g2 - ol;
4769
+ Tt.prototype.F2 = 2 * ol - g2;
4770
4770
  var qm = [], qA, Hs;
4771
4771
  qA = "0".charCodeAt(0);
4772
4772
  for (Hs = 0; Hs <= 9; ++Hs)
@@ -4789,8 +4789,8 @@ function ug(t) {
4789
4789
  var e = 1, n;
4790
4790
  return (n = t >>> 16) != 0 && (t = n, e += 16), (n = t >> 8) != 0 && (t = n, e += 8), (n = t >> 4) != 0 && (t = n, e += 4), (n = t >> 2) != 0 && (t = n, e += 2), (n = t >> 1) != 0 && (t = n, e += 1), e;
4791
4791
  }
4792
- It.ZERO = Va(0);
4793
- It.ONE = Va(1);
4792
+ Tt.ZERO = Va(0);
4793
+ Tt.ONE = Va(1);
4794
4794
  var KI = (
4795
4795
  /** @class */
4796
4796
  function() {
@@ -4813,23 +4813,23 @@ var KI = (
4813
4813
  function GI() {
4814
4814
  return new KI();
4815
4815
  }
4816
- var iB = 256, pg, Xa = null, mi;
4816
+ var iB = 256, pg, Xa = null, yi;
4817
4817
  if (Xa == null) {
4818
- Xa = [], mi = 0;
4818
+ Xa = [], yi = 0;
4819
4819
  var hg = void 0;
4820
4820
  if (typeof window != "undefined" && window.crypto && window.crypto.getRandomValues) {
4821
4821
  var Y1 = new Uint32Array(256);
4822
4822
  for (window.crypto.getRandomValues(Y1), hg = 0; hg < Y1.length; ++hg)
4823
- Xa[mi++] = Y1[hg] & 255;
4823
+ Xa[yi++] = Y1[hg] & 255;
4824
4824
  }
4825
4825
  var gg = 0, fg = function(t) {
4826
- if (gg = gg || 0, gg >= 256 || mi >= iB) {
4826
+ if (gg = gg || 0, gg >= 256 || yi >= iB) {
4827
4827
  window.removeEventListener ? window.removeEventListener("mousemove", fg, !1) : window.detachEvent && window.detachEvent("onmousemove", fg);
4828
4828
  return;
4829
4829
  }
4830
4830
  try {
4831
4831
  var e = t.x + t.y;
4832
- Xa[mi++] = e & 255, gg += 1;
4832
+ Xa[yi++] = e & 255, gg += 1;
4833
4833
  } catch (n) {
4834
4834
  }
4835
4835
  };
@@ -4837,13 +4837,13 @@ if (Xa == null) {
4837
4837
  }
4838
4838
  function WI() {
4839
4839
  if (pg == null) {
4840
- for (pg = GI(); mi < iB; ) {
4840
+ for (pg = GI(); yi < iB; ) {
4841
4841
  var t = Math.floor(65536 * Math.random());
4842
- Xa[mi++] = t & 255;
4842
+ Xa[yi++] = t & 255;
4843
4843
  }
4844
- for (pg.init(Xa), mi = 0; mi < Xa.length; ++mi)
4845
- Xa[mi] = 0;
4846
- mi = 0;
4844
+ for (pg.init(Xa), yi = 0; yi < Xa.length; ++yi)
4845
+ Xa[yi] = 0;
4846
+ yi = 0;
4847
4847
  }
4848
4848
  return pg.next();
4849
4849
  }
@@ -4879,7 +4879,7 @@ function JI(t, e) {
4879
4879
  i.nextBytes(o);
4880
4880
  n[--e] = o[0];
4881
4881
  }
4882
- return n[--e] = 2, n[--e] = 0, new It(n);
4882
+ return n[--e] = 2, n[--e] = 0, new Tt(n);
4883
4883
  }
4884
4884
  var XI = (
4885
4885
  /** @class */
@@ -4914,17 +4914,17 @@ var XI = (
4914
4914
  }, t.prototype.generate = function(e, n) {
4915
4915
  var r = new Ev(), s = e >> 1;
4916
4916
  this.e = parseInt(n, 16);
4917
- for (var i = new It(n, 16); ; ) {
4918
- for (; this.p = new It(e - s, 1, r), !(this.p.subtract(It.ONE).gcd(i).compareTo(It.ONE) == 0 && this.p.isProbablePrime(10)); )
4917
+ for (var i = new Tt(n, 16); ; ) {
4918
+ for (; this.p = new Tt(e - s, 1, r), !(this.p.subtract(Tt.ONE).gcd(i).compareTo(Tt.ONE) == 0 && this.p.isProbablePrime(10)); )
4919
4919
  ;
4920
- for (; this.q = new It(s, 1, r), !(this.q.subtract(It.ONE).gcd(i).compareTo(It.ONE) == 0 && this.q.isProbablePrime(10)); )
4920
+ for (; this.q = new Tt(s, 1, r), !(this.q.subtract(Tt.ONE).gcd(i).compareTo(Tt.ONE) == 0 && this.q.isProbablePrime(10)); )
4921
4921
  ;
4922
4922
  if (this.p.compareTo(this.q) <= 0) {
4923
4923
  var o = this.p;
4924
4924
  this.p = this.q, this.q = o;
4925
4925
  }
4926
- var a = this.p.subtract(It.ONE), d = this.q.subtract(It.ONE), l = a.multiply(d);
4927
- if (l.gcd(i).compareTo(It.ONE) == 0) {
4926
+ var a = this.p.subtract(Tt.ONE), d = this.q.subtract(Tt.ONE), l = a.multiply(d);
4927
+ if (l.gcd(i).compareTo(Tt.ONE) == 0) {
4928
4928
  this.n = this.p.multiply(this.q), this.d = i.modInverse(l), this.dmp1 = this.d.mod(a), this.dmq1 = this.d.mod(d), this.coeff = this.q.modInverse(this.p);
4929
4929
  break;
4930
4930
  }
@@ -4935,26 +4935,26 @@ var XI = (
4935
4935
  }, t.prototype.generateAsync = function(e, n, r) {
4936
4936
  var s = new Ev(), i = e >> 1;
4937
4937
  this.e = parseInt(n, 16);
4938
- var o = new It(n, 16), a = this, d = function() {
4938
+ var o = new Tt(n, 16), a = this, d = function() {
4939
4939
  var l = function() {
4940
4940
  if (a.p.compareTo(a.q) <= 0) {
4941
4941
  var h = a.p;
4942
4942
  a.p = a.q, a.q = h;
4943
4943
  }
4944
- var p = a.p.subtract(It.ONE), m = a.q.subtract(It.ONE), y = p.multiply(m);
4945
- y.gcd(o).compareTo(It.ONE) == 0 ? (a.n = a.p.multiply(a.q), a.d = o.modInverse(y), a.dmp1 = a.d.mod(p), a.dmq1 = a.d.mod(m), a.coeff = a.q.modInverse(a.p), setTimeout(function() {
4944
+ var p = a.p.subtract(Tt.ONE), m = a.q.subtract(Tt.ONE), y = p.multiply(m);
4945
+ y.gcd(o).compareTo(Tt.ONE) == 0 ? (a.n = a.p.multiply(a.q), a.d = o.modInverse(y), a.dmp1 = a.d.mod(p), a.dmq1 = a.d.mod(m), a.coeff = a.q.modInverse(a.p), setTimeout(function() {
4946
4946
  r();
4947
4947
  }, 0)) : setTimeout(d, 0);
4948
4948
  }, c = function() {
4949
4949
  a.q = Ft(), a.q.fromNumberAsync(i, 1, s, function() {
4950
- a.q.subtract(It.ONE).gcda(o, function(h) {
4951
- h.compareTo(It.ONE) == 0 && a.q.isProbablePrime(10) ? setTimeout(l, 0) : setTimeout(c, 0);
4950
+ a.q.subtract(Tt.ONE).gcda(o, function(h) {
4951
+ h.compareTo(Tt.ONE) == 0 && a.q.isProbablePrime(10) ? setTimeout(l, 0) : setTimeout(c, 0);
4952
4952
  });
4953
4953
  });
4954
4954
  }, u = function() {
4955
4955
  a.p = Ft(), a.p.fromNumberAsync(e - i, 1, s, function() {
4956
- a.p.subtract(It.ONE).gcda(o, function(h) {
4957
- h.compareTo(It.ONE) == 0 && a.p.isProbablePrime(10) ? setTimeout(c, 0) : setTimeout(u, 0);
4956
+ a.p.subtract(Tt.ONE).gcda(o, function(h) {
4957
+ h.compareTo(Tt.ONE) == 0 && a.p.isProbablePrime(10) ? setTimeout(c, 0) : setTimeout(u, 0);
4958
4958
  });
4959
4959
  });
4960
4960
  };
@@ -5084,7 +5084,7 @@ Re.asn1.ASN1Util = new function() {
5084
5084
  r % 2 == 1 ? r += 1 : e.match(/^[0-7]/) || (r += 2);
5085
5085
  for (var s = "", i = 0; i < r; i++)
5086
5086
  s += "f";
5087
- var o = new It(s, 16), a = o.xor(t).add(It.ONE);
5087
+ var o = new Tt(s, 16), a = o.xor(t).add(Tt.ONE);
5088
5088
  e = a.toString(16).replace(/^-/, "");
5089
5089
  }
5090
5090
  return e;
@@ -5164,7 +5164,7 @@ Re.asn1.ASN1Util.oidHexToInt = function(t) {
5164
5164
  for (var s = "", e = parseInt(t.substr(0, 2), 16), n = Math.floor(e / 40), r = e % 40, s = n + "." + r, i = "", o = 2; o < t.length; o += 2) {
5165
5165
  var a = parseInt(t.substr(o, 2), 16), d = ("00000000" + a.toString(2)).slice(-8);
5166
5166
  if (i = i + d.substr(1, 7), d.substr(0, 1) == "0") {
5167
- var l = new It(i, 2);
5167
+ var l = new Tt(i, 2);
5168
5168
  s = s + "." + l.toString(10), i = "";
5169
5169
  }
5170
5170
  }
@@ -5175,7 +5175,7 @@ Re.asn1.ASN1Util.oidIntToHex = function(t) {
5175
5175
  var d = a.toString(16);
5176
5176
  return d.length == 1 && (d = "0" + d), d;
5177
5177
  }, n = function(a) {
5178
- var d = "", l = new It(a, 10), c = l.toString(2), u = 7 - c.length % 7;
5178
+ var d = "", l = new Tt(a, 10), c = l.toString(2), u = 7 - c.length % 7;
5179
5179
  u == 7 && (u = 0);
5180
5180
  for (var h = "", p = 0; p < u; p++)
5181
5181
  h += "0";
@@ -5276,7 +5276,7 @@ Re.asn1.DERInteger = function(t) {
5276
5276
  Re.asn1.DERInteger.superclass.constructor.call(this), this.hT = "02", this.setByBigInteger = function(e) {
5277
5277
  this.hTLV = null, this.isModified = !0, this.hV = Re.asn1.ASN1Util.bigIntToMinTwosComplementsHex(e);
5278
5278
  }, this.setByInteger = function(e) {
5279
- var n = new It(String(e), 10);
5279
+ var n = new Tt(String(e), 10);
5280
5280
  this.setByBigInteger(n);
5281
5281
  }, this.setValueHex = function(e) {
5282
5282
  this.hV = e;
@@ -5338,7 +5338,7 @@ Re.asn1.DERObjectIdentifier = function(t) {
5338
5338
  var s = r.toString(16);
5339
5339
  return s.length == 1 && (s = "0" + s), s;
5340
5340
  }, n = function(r) {
5341
- var s = "", i = new It(r, 10), o = i.toString(2), a = 7 - o.length % 7;
5341
+ var s = "", i = new Tt(r, 10), o = i.toString(2), a = 7 - o.length % 7;
5342
5342
  a == 7 && (a = 0);
5343
5343
  for (var d = "", l = 0; l < a; l++)
5344
5344
  d += "0";
@@ -5374,7 +5374,7 @@ Re.asn1.DEREnumerated = function(t) {
5374
5374
  Re.asn1.DEREnumerated.superclass.constructor.call(this), this.hT = "0a", this.setByBigInteger = function(e) {
5375
5375
  this.hTLV = null, this.isModified = !0, this.hV = Re.asn1.ASN1Util.bigIntToMinTwosComplementsHex(e);
5376
5376
  }, this.setByInteger = function(e) {
5377
- var n = new It(String(e), 10);
5377
+ var n = new Tt(String(e), 10);
5378
5378
  this.setByBigInteger(n);
5379
5379
  }, this.setValueHex = function(e) {
5380
5380
  this.hV = e;
@@ -5754,7 +5754,7 @@ function lT(t, e) {
5754
5754
  const th = (t) => ce(void 0, null, function* () {
5755
5755
  return (yield Pt.instanceWithRetries.get(`/sdk/payments/${t}`, {})).data.response;
5756
5756
  });
5757
- var at = /* @__PURE__ */ ((t) => (t.LOADING = "scof-loading", t.MAIN = "scof-main", t.HOLDER_FORM = "scof-holder-form", t.CARD_FORM = "scof-card-form", t.CARD_LIST = "scof-cards-list", t.PLANS = "scof-plans", t.SUMMARY = "scof-summary", t.STATUS = "scof-status", t.QR = "qr-component", t))(at || {}), Tt = /* @__PURE__ */ ((t) => (t.LOADING = "manual-input-loading", t.MANUAL_HOME = "payment-manual-home", t.HOLDER_FORM = "payment-manual-holder-form", t.CARD_FORM = "payment-manual-card-form", t.PLANS = "payment-manual-plans", t.SUMMARY = "payment-manual-summary", t.STATUS = "payment-manual-status", t.QR = "qr-component", t.MANUAL_INPUT = "manual-input", t.INVOICE = "payment-manual-invoice", t))(Tt || {}), dt = /* @__PURE__ */ ((t) => (t.LOADING = "a2a-loading", t.MANUAL_HOME = "a2a-home", t.HOLDER_FORM = "a2a-holder-form", t.CARD_FORM = "a2a-card-form", t.PLANS = "a2a-plans", t.SUMMARY = "a2a-summary", t.ACCOUNT_LIST = "a2a-account-list", t.STATUS = "a2a-status", t.QR = "qr-component", t.MAIN = "a2a-main", t.INVOICE = "a2a-invoice", t.PCP_LIST = "a2a-pcp-list", t.PANEL_ASSOCIATION = "a2a-panel-association", t.ASSOCIATION_PROCESS = "a2a-association-process", t))(dt || {}), al = /* @__PURE__ */ ((t) => (t.LOADING = "a2a-feedback-loading", t.ACCOUNT_DETAILS = "a2a-feedback-account-details", t.STATUS = "a2a-feedback-status", t.HOME = "a2a-feedback-home", t))(al || {});
5757
+ var at = /* @__PURE__ */ ((t) => (t.LOADING = "scof-loading", t.MAIN = "scof-main", t.HOLDER_FORM = "scof-holder-form", t.CARD_FORM = "scof-card-form", t.CARD_LIST = "scof-cards-list", t.PLANS = "scof-plans", t.SUMMARY = "scof-summary", t.STATUS = "scof-status", t.QR = "qr-component", t))(at || {}), Ut = /* @__PURE__ */ ((t) => (t.LOADING = "manual-input-loading", t.MANUAL_HOME = "payment-manual-home", t.HOLDER_FORM = "payment-manual-holder-form", t.CARD_FORM = "payment-manual-card-form", t.PLANS = "payment-manual-plans", t.SUMMARY = "payment-manual-summary", t.STATUS = "payment-manual-status", t.QR = "qr-component", t.MANUAL_INPUT = "manual-input", t.INVOICE = "payment-manual-invoice", t))(Ut || {}), dt = /* @__PURE__ */ ((t) => (t.LOADING = "a2a-loading", t.MANUAL_HOME = "a2a-home", t.HOLDER_FORM = "a2a-holder-form", t.CARD_FORM = "a2a-card-form", t.PLANS = "a2a-plans", t.SUMMARY = "a2a-summary", t.ACCOUNT_LIST = "a2a-account-list", t.STATUS = "a2a-status", t.QR = "qr-component", t.MAIN = "a2a-main", t.INVOICE = "a2a-invoice", t.PCP_LIST = "a2a-pcp-list", t.PANEL_ASSOCIATION = "a2a-panel-association", t.ASSOCIATION_PROCESS = "a2a-association-process", t))(dt || {}), al = /* @__PURE__ */ ((t) => (t.LOADING = "a2a-feedback-loading", t.ACCOUNT_DETAILS = "a2a-feedback-account-details", t.STATUS = "a2a-feedback-status", t.HOME = "a2a-feedback-home", t))(al || {});
5758
5758
  const d_ = {
5759
5759
  "scof-loading": j`<scof-loading></scof-loading>`,
5760
5760
  "scof-main": j`<scof-main></scof-main>`,
@@ -8731,12 +8731,12 @@ function Yj() {
8731
8731
  var t = window._DATADOG_SYNTHETICS_RESULT_ID || xd(Kj);
8732
8732
  return typeof t == "string" ? t : void 0;
8733
8733
  }
8734
- var ci;
8734
+ var Ai;
8735
8735
  function tm(t, e, n) {
8736
8736
  var r = n.getHandler(), s = Array.isArray(r) ? r : [r];
8737
8737
  return B_[t] >= B_[n.getLevel()] && Yd(s, e);
8738
8738
  }
8739
- var St = {
8739
+ var It = {
8740
8740
  ok: "ok",
8741
8741
  debug: "debug",
8742
8742
  info: "info",
@@ -8746,7 +8746,7 @@ var St = {
8746
8746
  critical: "critical",
8747
8747
  alert: "alert",
8748
8748
  emerg: "emerg"
8749
- }, B_ = (ci = {}, ci[St.ok] = 0, ci[St.debug] = 1, ci[St.info] = 2, ci[St.notice] = 4, ci[St.warn] = 5, ci[St.error] = 6, ci[St.critical] = 7, ci[St.alert] = 8, ci[St.emerg] = 9, ci);
8749
+ }, B_ = (Ai = {}, Ai[It.ok] = 0, Ai[It.debug] = 1, Ai[It.info] = 2, Ai[It.notice] = 4, Ai[It.warn] = 5, Ai[It.error] = 6, Ai[It.critical] = 7, Ai[It.alert] = 8, Ai[It.emerg] = 9, Ai);
8750
8750
  function Jm(t, e) {
8751
8751
  var n = e === void 0 ? {} : e, r = n.includeMessage, s = r === void 0 ? !1 : r;
8752
8752
  return {
@@ -8770,14 +8770,14 @@ var Jj = globalThis && globalThis.__decorate || function(t, e, n, r) {
8770
8770
  console: "console",
8771
8771
  http: "http",
8772
8772
  silent: "silent"
8773
- }, Xj = Object.keys(St), _i = (
8773
+ }, Xj = Object.keys(It), xi = (
8774
8774
  /** @class */
8775
8775
  function() {
8776
8776
  function t(e, n, r, s, i, o) {
8777
- s === void 0 && (s = Fp.http), i === void 0 && (i = St.debug), o === void 0 && (o = {}), this.handleLogStrategy = e, this.handlerType = s, this.level = i, this.contextManager = jv(n), this.contextManager.setContext(o), r && this.contextManager.setContextProperty("logger", { name: r });
8777
+ s === void 0 && (s = Fp.http), i === void 0 && (i = It.debug), o === void 0 && (o = {}), this.handleLogStrategy = e, this.handlerType = s, this.level = i, this.contextManager = jv(n), this.contextManager.setContext(o), r && this.contextManager.setContextProperty("logger", { name: r });
8778
8778
  }
8779
8779
  return t.prototype.logImplementation = function(e, n, r, s, i) {
8780
- r === void 0 && (r = St.info);
8780
+ r === void 0 && (r = It.info);
8781
8781
  var o = Zo(n), a;
8782
8782
  if (s != null) {
8783
8783
  var d = UB({
@@ -8799,7 +8799,7 @@ var Jj = globalThis && globalThis.__decorate || function(t, e, n, r) {
8799
8799
  status: r
8800
8800
  }, this, i);
8801
8801
  }, t.prototype.log = function(e, n, r, s) {
8802
- r === void 0 && (r = St.info);
8802
+ r === void 0 && (r = It.info);
8803
8803
  var i;
8804
8804
  tm(r, Fp.http, this) && (i = Ym()), this.logImplementation(e, n, r, s, i);
8805
8805
  }, t.prototype.setContext = function(e) {
@@ -8825,15 +8825,15 @@ var Jj = globalThis && globalThis.__decorate || function(t, e, n, r) {
8825
8825
  ], t.prototype, "logImplementation", null), t;
8826
8826
  }()
8827
8827
  );
8828
- _i.prototype.ok = Aa(St.ok);
8829
- _i.prototype.debug = Aa(St.debug);
8830
- _i.prototype.info = Aa(St.info);
8831
- _i.prototype.notice = Aa(St.notice);
8832
- _i.prototype.warn = Aa(St.warn);
8833
- _i.prototype.error = Aa(St.error);
8834
- _i.prototype.critical = Aa(St.critical);
8835
- _i.prototype.alert = Aa(St.alert);
8836
- _i.prototype.emerg = Aa(St.emerg);
8828
+ xi.prototype.ok = Aa(It.ok);
8829
+ xi.prototype.debug = Aa(It.debug);
8830
+ xi.prototype.info = Aa(It.info);
8831
+ xi.prototype.notice = Aa(It.notice);
8832
+ xi.prototype.warn = Aa(It.warn);
8833
+ xi.prototype.error = Aa(It.error);
8834
+ xi.prototype.critical = Aa(It.critical);
8835
+ xi.prototype.alert = Aa(It.alert);
8836
+ xi.prototype.emerg = Aa(It.emerg);
8837
8837
  function Aa(t) {
8838
8838
  return function(e, n, r) {
8839
8839
  var s;
@@ -8948,7 +8948,7 @@ function s7(t) {
8948
8948
  ));
8949
8949
  var u = t(l, c, i, s);
8950
8950
  return o = i7(l, u), u;
8951
- }), a = {}, d = new _i(function() {
8951
+ }), a = {}, d = new xi(function() {
8952
8952
  for (var l = [], c = 0; c < arguments.length; c++)
8953
8953
  l[c] = arguments[c];
8954
8954
  return o.handleLog.apply(o, l);
@@ -8977,7 +8977,7 @@ function s7(t) {
8977
8977
  return n.clearContext();
8978
8978
  }),
8979
8979
  createLogger: Zt(function(l, c) {
8980
- return c === void 0 && (c = {}), a[l] = new _i(function() {
8980
+ return c === void 0 && (c = {}), a[l] = new xi(function() {
8981
8981
  for (var u = [], h = 0; h < arguments.length; h++)
8982
8982
  u[h] = arguments[h];
8983
8983
  return o.handleLog.apply(o, u);
@@ -9091,7 +9091,7 @@ function A7(t, e, n, r, s) {
9091
9091
  }
9092
9092
  });
9093
9093
  }
9094
- var rd, u7 = (rd = {}, rd[Hn.log] = St.info, rd[Hn.debug] = St.debug, rd[Hn.info] = St.info, rd[Hn.warn] = St.warn, rd[Hn.error] = St.error, rd);
9094
+ var rd, u7 = (rd = {}, rd[Hn.log] = It.info, rd[Hn.debug] = It.debug, rd[Hn.info] = It.info, rd[Hn.warn] = It.warn, rd[Hn.error] = It.error, rd);
9095
9095
  function p7(t, e) {
9096
9096
  var n = Pj(t.forwardConsoleLogs).subscribe(function(r) {
9097
9097
  var s = {
@@ -9116,8 +9116,8 @@ function p7(t, e) {
9116
9116
  }
9117
9117
  function h7(t, e) {
9118
9118
  var n = PP(t, t.forwardReports).subscribe(function(r) {
9119
- var s = r.message, i, o = r.originalError.type === "deprecation" ? St.warn : St.error;
9120
- o === St.error ? i = Jm(r) : r.stack && (s += " Found in ".concat(EP(r.stack))), e.notify(0, {
9119
+ var s = r.message, i, o = r.originalError.type === "deprecation" ? It.warn : It.error;
9120
+ o === It.error ? i = Jm(r) : r.stack && (s += " Found in ".concat(EP(r.stack))), e.notify(0, {
9121
9121
  rawLogsEvent: {
9122
9122
  date: Sl(),
9123
9123
  message: s,
@@ -9163,7 +9163,7 @@ function g7(t, e) {
9163
9163
  status_code: o.status,
9164
9164
  url: o.url
9165
9165
  },
9166
- status: St.error,
9166
+ status: It.error,
9167
9167
  origin: Es.NETWORK
9168
9168
  },
9169
9169
  domainContext: l
@@ -9224,7 +9224,7 @@ function _7(t, e) {
9224
9224
  date: i.startClocks.timeStamp,
9225
9225
  error: Jm(i),
9226
9226
  origin: Es.SOURCE,
9227
- status: St.error
9227
+ status: It.error
9228
9228
  }
9229
9229
  });
9230
9230
  });
@@ -9234,7 +9234,7 @@ function _7(t, e) {
9234
9234
  }
9235
9235
  };
9236
9236
  }
9237
- var x7 = _j, Ai;
9237
+ var x7 = _j, ui;
9238
9238
  function C7(t) {
9239
9239
  function e(n, r, s, i, o) {
9240
9240
  var a = SA(r.getContext(), n.context);
@@ -9256,7 +9256,7 @@ function C7(t) {
9256
9256
  handleLog: e
9257
9257
  };
9258
9258
  }
9259
- var B7 = (Ai = {}, Ai[St.ok] = Hn.debug, Ai[St.debug] = Hn.debug, Ai[St.info] = Hn.info, Ai[St.notice] = Hn.info, Ai[St.warn] = Hn.warn, Ai[St.error] = Hn.error, Ai[St.critical] = Hn.error, Ai[St.alert] = Hn.error, Ai[St.emerg] = Hn.error, Ai);
9259
+ var B7 = (ui = {}, ui[It.ok] = Hn.debug, ui[It.debug] = Hn.debug, ui[It.info] = Hn.info, ui[It.notice] = Hn.info, ui[It.warn] = Hn.warn, ui[It.error] = Hn.error, ui[It.critical] = Hn.error, ui[It.alert] = Hn.error, ui[It.emerg] = Hn.error, ui);
9260
9260
  function E7(t, e) {
9261
9261
  var n = t.status, r = t.message;
9262
9262
  gd[B7[n]].call(io, r, e);
@@ -9297,7 +9297,7 @@ function T7(t) {
9297
9297
  message: e.message,
9298
9298
  date: e.startClocks.timeStamp,
9299
9299
  origin: Es.AGENT,
9300
- status: St.error
9300
+ status: It.error
9301
9301
  }
9302
9302
  }), zB("Error reported to customer", { "error.message": e.message });
9303
9303
  };
@@ -9387,10 +9387,10 @@ function P7(t, e, n, r) {
9387
9387
  }
9388
9388
  var pp = s7(P7);
9389
9389
  UP(Tl(), "DD_LOGS", pp);
9390
- const j7 = "@ranty/ranty-sdk", F7 = "3.2.0-beta.0", D7 = 3, R7 = !0, O7 = {
9390
+ const j7 = "@ranty/ranty-sdk", F7 = "3.2.0-beta.2", D7 = 3, R7 = !0, O7 = {
9391
9391
  "": {
9392
9392
  name: "@ranty/ranty-sdk",
9393
- version: "3.2.0-beta.0",
9393
+ version: "3.2.0-beta.2",
9394
9394
  license: "ISC",
9395
9395
  dependencies: {
9396
9396
  "@datadog/browser-logs": "^5.35.1",
@@ -32137,7 +32137,7 @@ const Z2 = [
32137
32137
  default:
32138
32138
  return t;
32139
32139
  }
32140
- }, xi = (t) => ce(void 0, null, function* () {
32140
+ }, Ci = (t) => ce(void 0, null, function* () {
32141
32141
  const e = yield Pt.instanceWithRetries.get(`/sdk/payment_request/${t}`, {});
32142
32142
  return nF(e.data);
32143
32143
  }), tw = (t) => ce(void 0, null, function* () {
@@ -32233,7 +32233,7 @@ const Pl = (t, e) => ce(void 0, null, function* () {
32233
32233
  }
32234
32234
  static getPaymentRequestByMode(e, n) {
32235
32235
  return ce(this, null, function* () {
32236
- return (n == null ? void 0 : n.toUpperCase()) === xe.CARD_ON_FILE ? yield fT(e) : yield xi(e);
32236
+ return (n == null ? void 0 : n.toUpperCase()) === xe.CARD_ON_FILE ? yield fT(e) : yield Ci(e);
32237
32237
  });
32238
32238
  }
32239
32239
  static startPolling(e, n = "default", r = 1, s = "minutes", i = 10, o = "minutes") {
@@ -32333,15 +32333,15 @@ var gF = "Logging", fF = globalThis && globalThis.__values || function(t) {
32333
32333
  INFO: 3,
32334
32334
  WARN: 4,
32335
32335
  ERROR: 5
32336
- }, gi;
32336
+ }, fi;
32337
32337
  (function(t) {
32338
32338
  t.DEBUG = "DEBUG", t.ERROR = "ERROR", t.INFO = "INFO", t.WARN = "WARN", t.VERBOSE = "VERBOSE";
32339
- })(gi || (gi = {}));
32339
+ })(fi || (fi = {}));
32340
32340
  var Ni = (
32341
32341
  /** @class */
32342
32342
  function() {
32343
32343
  function t(e, n) {
32344
- n === void 0 && (n = gi.WARN), this.name = e, this.level = n, this._pluggables = [];
32344
+ n === void 0 && (n = fi.WARN), this.name = e, this.level = n, this._pluggables = [];
32345
32345
  }
32346
32346
  return t.prototype._padding = function(e) {
32347
32347
  return e < 10 ? "0" + e : "" + e;
@@ -32358,7 +32358,7 @@ var Ni = (
32358
32358
  var a = O_[o], d = O_[e];
32359
32359
  if (d >= a) {
32360
32360
  var l = console.log.bind(console);
32361
- e === gi.ERROR && console.error && (l = console.error.bind(console)), e === gi.WARN && console.warn && (l = console.warn.bind(console));
32361
+ e === fi.ERROR && console.error && (l = console.error.bind(console)), e === fi.WARN && console.warn && (l = console.warn.bind(console));
32362
32362
  var c = "[".concat(e, "] ").concat(this._ts(), " ").concat(this.name), u = "";
32363
32363
  if (s.length === 1 && typeof s[0] == "string")
32364
32364
  u = "".concat(c, " - ").concat(s[0]), l(u);
@@ -32388,27 +32388,27 @@ var Ni = (
32388
32388
  }, t.prototype.log = function() {
32389
32389
  for (var e = [], n = 0; n < arguments.length; n++)
32390
32390
  e[n] = arguments[n];
32391
- this._log.apply(this, zc([gi.INFO], Mc(e), !1));
32391
+ this._log.apply(this, zc([fi.INFO], Mc(e), !1));
32392
32392
  }, t.prototype.info = function() {
32393
32393
  for (var e = [], n = 0; n < arguments.length; n++)
32394
32394
  e[n] = arguments[n];
32395
- this._log.apply(this, zc([gi.INFO], Mc(e), !1));
32395
+ this._log.apply(this, zc([fi.INFO], Mc(e), !1));
32396
32396
  }, t.prototype.warn = function() {
32397
32397
  for (var e = [], n = 0; n < arguments.length; n++)
32398
32398
  e[n] = arguments[n];
32399
- this._log.apply(this, zc([gi.WARN], Mc(e), !1));
32399
+ this._log.apply(this, zc([fi.WARN], Mc(e), !1));
32400
32400
  }, t.prototype.error = function() {
32401
32401
  for (var e = [], n = 0; n < arguments.length; n++)
32402
32402
  e[n] = arguments[n];
32403
- this._log.apply(this, zc([gi.ERROR], Mc(e), !1));
32403
+ this._log.apply(this, zc([fi.ERROR], Mc(e), !1));
32404
32404
  }, t.prototype.debug = function() {
32405
32405
  for (var e = [], n = 0; n < arguments.length; n++)
32406
32406
  e[n] = arguments[n];
32407
- this._log.apply(this, zc([gi.DEBUG], Mc(e), !1));
32407
+ this._log.apply(this, zc([fi.DEBUG], Mc(e), !1));
32408
32408
  }, t.prototype.verbose = function() {
32409
32409
  for (var e = [], n = 0; n < arguments.length; n++)
32410
32410
  e[n] = arguments[n];
32411
- this._log.apply(this, zc([gi.VERBOSE], Mc(e), !1));
32411
+ this._log.apply(this, zc([fi.VERBOSE], Mc(e), !1));
32412
32412
  }, t.prototype.addPluggable = function(e) {
32413
32413
  e && e.getCategoryName() === gF && (this._pluggables.push(e), e.configure(this._config));
32414
32414
  }, t.prototype.listPluggables = function() {
@@ -36736,7 +36736,7 @@ var GO = {}.toString, WO = Array.isArray || function(t) {
36736
36736
  */
36737
36737
  (function(t) {
36738
36738
  var e = c0, n = cw, r = WO;
36739
- t.Buffer = a, t.SlowBuffer = b, t.INSPECT_MAX_BYTES = 50, a.TYPED_ARRAY_SUPPORT = wi.TYPED_ARRAY_SUPPORT !== void 0 ? wi.TYPED_ARRAY_SUPPORT : s(), t.kMaxLength = i();
36739
+ t.Buffer = a, t.SlowBuffer = b, t.INSPECT_MAX_BYTES = 50, a.TYPED_ARRAY_SUPPORT = _i.TYPED_ARRAY_SUPPORT !== void 0 ? _i.TYPED_ARRAY_SUPPORT : s(), t.kMaxLength = i();
36740
36740
  function s() {
36741
36741
  try {
36742
36742
  var R = new Uint8Array(1);
@@ -37056,8 +37056,8 @@ var GO = {}.toString, WO = Array.isArray || function(t) {
37056
37056
  vt !== -1 && (At -= At - vt), vt = -1;
37057
37057
  } else
37058
37058
  for (C + We > Ce && (C = Ce - We), At = C; At >= 0; At--) {
37059
- for (var et = !0, Bt = 0; Bt < We; Bt++)
37060
- if (st(R, At + Bt) !== st(w, Bt)) {
37059
+ for (var et = !0, Et = 0; Et < We; Et++)
37060
+ if (st(R, At + Et) !== st(w, Et)) {
37061
37061
  et = !1;
37062
37062
  break;
37063
37063
  }
@@ -39310,7 +39310,7 @@ var Vu = N6.exports, aL = /* @__PURE__ */ function() {
39310
39310
  um.exports;
39311
39311
  (function(t, e) {
39312
39312
  (function(n) {
39313
- var r = e && !e.nodeType && e, s = t && !t.nodeType && t, i = typeof wi == "object" && wi;
39313
+ var r = e && !e.nodeType && e, s = t && !t.nodeType && t, i = typeof _i == "object" && _i;
39314
39314
  (i.global === i || i.window === i || i.self === i) && (n = i);
39315
39315
  var o, a = 2147483647, d = 36, l = 1, c = 26, u = 38, h = 700, p = 72, m = 128, y = "-", _ = /^xn--/, b = /[^\x20-\x7E]/, x = /[\x2E\u3002\uFF0E\uFF61]/g, I = {
39316
39316
  overflow: "Overflow: input needs wider integers to process",
@@ -39424,7 +39424,7 @@ um.exports;
39424
39424
  o.hasOwnProperty(q) && (r[q] = o[q]);
39425
39425
  else
39426
39426
  n.punycode = o;
39427
- })(wi);
39427
+ })(_i);
39428
39428
  })(um, um.exports);
39429
39429
  var lL = um.exports, dL = {
39430
39430
  isString: function(t) {
@@ -41493,7 +41493,7 @@ var PL = new Ni("AuthError"), Ma = (
41493
41493
  t0.register(sb);
41494
41494
  var sA = null;
41495
41495
  typeof WebSocket != "undefined" ? sA = WebSocket : typeof MozWebSocket != "undefined" ? sA = MozWebSocket : typeof global != "undefined" ? sA = global.WebSocket || global.MozWebSocket : typeof window != "undefined" ? sA = window.WebSocket || window.MozWebSocket : typeof self != "undefined" && (sA = self.WebSocket || self.MozWebSocket);
41496
- const Gu = sA, Ci = class extends EventTarget {
41496
+ const Gu = sA, Ws = class extends EventTarget {
41497
41497
  static emitEvent(e, n) {
41498
41498
  this.webSocketServiceInstance.dispatchEvent(new CustomEvent(e, { detail: n }));
41499
41499
  }
@@ -41534,9 +41534,9 @@ const Gu = sA, Ci = class extends EventTarget {
41534
41534
  static startHeartbeat(e, n) {
41535
41535
  this.heartbeatTimer && clearInterval(this.heartbeatTimer), this.resetInactivityTimeout(n), this.connectionStartTime = Date.now(), this.heartbeatTimer = setInterval(() => {
41536
41536
  this.sendMessage(e);
41537
- }, this.pingInterval), setTimeout(() => {
41537
+ }, this.pingInterval), this.connectionTimeoutId && clearTimeout(this.connectionTimeoutId), this.connectionTimeoutId = setTimeout(() => {
41538
41538
  var r;
41539
- (r = this.socket) == null || r.close();
41539
+ (r = this.socket) == null || r.close(), this.connectionTimeoutId = null;
41540
41540
  }, this.connectionDuration);
41541
41541
  }
41542
41542
  static stopHeartbeat() {
@@ -41580,7 +41580,10 @@ const Gu = sA, Ci = class extends EventTarget {
41580
41580
  }, e);
41581
41581
  }
41582
41582
  static extendHeartbeat(e) {
41583
- this.isExtended = !0, this.stopHeartbeat(), this.startHeartbeat(e, this.extendedDuration);
41583
+ if (this.connectionStartTime === 0)
41584
+ return;
41585
+ const r = Date.now() - this.connectionStartTime, s = this.connectionDuration / 2;
41586
+ r > s && (this.connectionDuration = r + this.extendedDuration, this.isExtended = !0, this.stopHeartbeat(), this.startHeartbeat(e, this.extendedDuration));
41584
41587
  }
41585
41588
  static extendConnectionOnPayment() {
41586
41589
  const e = Date.now() - this.connectionStartTime, r = Math.max(this.connectionDuration - e, 0) + this.extendedDuration;
@@ -41631,16 +41634,17 @@ const Gu = sA, Ci = class extends EventTarget {
41631
41634
  this.endTime = void 0, this.startTime = void 0;
41632
41635
  }
41633
41636
  };
41634
- Ci.socket = null;
41635
- Ci.pingInterval = 24e3;
41636
- Ci.connectionDuration = 6e5;
41637
- Ci.extendedDuration = 3e5;
41638
- Ci.connectionStartTime = 0;
41639
- Ci.isExtended = !1;
41640
- Ci.connectionAttemptCount = 0;
41641
- Ci.isRunning = !1;
41642
- Ci.webSocketServiceInstance = new Ci();
41643
- let Ut = Ci;
41637
+ Ws.socket = null;
41638
+ Ws.pingInterval = 24e3;
41639
+ Ws.connectionDuration = 6e5;
41640
+ Ws.extendedDuration = 3e5;
41641
+ Ws.connectionStartTime = 0;
41642
+ Ws.connectionTimeoutId = null;
41643
+ Ws.isExtended = !1;
41644
+ Ws.connectionAttemptCount = 0;
41645
+ Ws.isRunning = !1;
41646
+ Ws.webSocketServiceInstance = new Ws();
41647
+ let Bt = Ws;
41644
41648
  const Q6 = (t) => {
41645
41649
  const e = t.trim().split(" ");
41646
41650
  if (e.length === 1)
@@ -42262,7 +42266,7 @@ var sQ = Object.defineProperty, iQ = Object.getOwnPropertyDescriptor, yo = (t, e
42262
42266
  (o = t[i]) && (s = (r ? o(e, n, s) : o(s)) || s);
42263
42267
  return r && s && sQ(e, n, s), s;
42264
42268
  };
42265
- let Ws = class extends qe {
42269
+ let Ys = class extends qe {
42266
42270
  constructor() {
42267
42271
  super(...arguments), this.type = "text", this.value = "", this.label = "", this.name = "", this.customClass = "", this.autocomplete = "off", this.errors = [];
42268
42272
  }
@@ -42287,39 +42291,39 @@ let Ws = class extends qe {
42287
42291
  `;
42288
42292
  }
42289
42293
  };
42290
- Ws.styles = Xe`
42294
+ Ys.styles = Xe`
42291
42295
  ${Je(rQ)}
42292
42296
  `;
42293
42297
  yo([
42294
42298
  T({ type: String })
42295
- ], Ws.prototype, "type", 2);
42299
+ ], Ys.prototype, "type", 2);
42296
42300
  yo([
42297
42301
  T({ type: String })
42298
- ], Ws.prototype, "value", 2);
42302
+ ], Ys.prototype, "value", 2);
42299
42303
  yo([
42300
42304
  T({ type: String })
42301
- ], Ws.prototype, "label", 2);
42305
+ ], Ys.prototype, "label", 2);
42302
42306
  yo([
42303
42307
  T({ type: String })
42304
- ], Ws.prototype, "name", 2);
42308
+ ], Ys.prototype, "name", 2);
42305
42309
  yo([
42306
42310
  T({ type: String })
42307
- ], Ws.prototype, "customClass", 2);
42311
+ ], Ys.prototype, "customClass", 2);
42308
42312
  yo([
42309
42313
  T({ type: String })
42310
- ], Ws.prototype, "autocomplete", 2);
42314
+ ], Ys.prototype, "autocomplete", 2);
42311
42315
  yo([
42312
42316
  T({ type: Number })
42313
- ], Ws.prototype, "maxlength", 2);
42317
+ ], Ys.prototype, "maxlength", 2);
42314
42318
  yo([
42315
42319
  T({ type: Number })
42316
- ], Ws.prototype, "minlength", 2);
42320
+ ], Ys.prototype, "minlength", 2);
42317
42321
  yo([
42318
42322
  T({ type: Array })
42319
- ], Ws.prototype, "errors", 2);
42320
- Ws = yo([
42323
+ ], Ys.prototype, "errors", 2);
42324
+ Ys = yo([
42321
42325
  He("base-input")
42322
- ], Ws);
42326
+ ], Ys);
42323
42327
  var oQ = Object.defineProperty, aQ = Object.getOwnPropertyDescriptor, M6 = (t, e, n, r) => {
42324
42328
  for (var s = r > 1 ? void 0 : r ? aQ(e, n) : e, i = t.length - 1, o; i >= 0; i--)
42325
42329
  (o = t[i]) && (s = (r ? o(e, n, s) : o(s)) || s);
@@ -43157,7 +43161,7 @@ let yl = class t extends qe {
43157
43161
  return;
43158
43162
  }
43159
43163
  try {
43160
- const n = yield xi(this.paymentRequestId);
43164
+ const n = yield Ci(this.paymentRequestId);
43161
43165
  this.payfacContext.paymentRequest = n.response;
43162
43166
  } catch (n) {
43163
43167
  nt("AUTH_PAYMENT_REQUEST", "Payment request failed."), ae.error(
@@ -43337,7 +43341,7 @@ var NQ = Object.defineProperty, LQ = Object.getOwnPropertyDescriptor, vo = (t, e
43337
43341
  (o = t[i]) && (s = (r ? o(e, n, s) : o(s)) || s);
43338
43342
  return r && s && NQ(e, n, s), s;
43339
43343
  };
43340
- let Ys = class extends qe {
43344
+ let Js = class extends qe {
43341
43345
  constructor() {
43342
43346
  super(...arguments), this.customClass = "", this.title = "", this.color = "primary", this.font = "regular", this.type = "submit", this.size = "md", this.isBlock = !1, this.buttonDisabled = !1, this.buttonLoading = !1;
43343
43347
  }
@@ -43387,39 +43391,39 @@ let Ys = class extends qe {
43387
43391
  `;
43388
43392
  }
43389
43393
  };
43390
- Ys.styles = Xe`
43394
+ Js.styles = Xe`
43391
43395
  ${Je(OQ)}
43392
43396
  `;
43393
43397
  vo([
43394
43398
  T({ type: String })
43395
- ], Ys.prototype, "customClass", 2);
43399
+ ], Js.prototype, "customClass", 2);
43396
43400
  vo([
43397
43401
  T({ type: String, attribute: "button-title" })
43398
- ], Ys.prototype, "title", 2);
43402
+ ], Js.prototype, "title", 2);
43399
43403
  vo([
43400
43404
  T({ type: String, attribute: "button-color" })
43401
- ], Ys.prototype, "color", 2);
43405
+ ], Js.prototype, "color", 2);
43402
43406
  vo([
43403
43407
  T({ type: String, attribute: "button-text" })
43404
- ], Ys.prototype, "font", 2);
43408
+ ], Js.prototype, "font", 2);
43405
43409
  vo([
43406
43410
  T({ type: String, attribute: "button-type" })
43407
- ], Ys.prototype, "type", 2);
43411
+ ], Js.prototype, "type", 2);
43408
43412
  vo([
43409
43413
  T({ type: String, attribute: "button-size" })
43410
- ], Ys.prototype, "size", 2);
43414
+ ], Js.prototype, "size", 2);
43411
43415
  vo([
43412
43416
  T({ type: Boolean, attribute: "button-block" })
43413
- ], Ys.prototype, "isBlock", 2);
43417
+ ], Js.prototype, "isBlock", 2);
43414
43418
  vo([
43415
43419
  T({ type: Boolean })
43416
- ], Ys.prototype, "buttonDisabled", 2);
43420
+ ], Js.prototype, "buttonDisabled", 2);
43417
43421
  vo([
43418
43422
  T({ type: Boolean })
43419
- ], Ys.prototype, "buttonLoading", 2);
43420
- Ys = vo([
43423
+ ], Js.prototype, "buttonLoading", 2);
43424
+ Js = vo([
43421
43425
  He("my-button")
43422
- ], Ys);
43426
+ ], Js);
43423
43427
  var QQ = Object.defineProperty, MQ = Object.getOwnPropertyDescriptor, ga = (t, e, n, r) => {
43424
43428
  for (var s = r > 1 ? void 0 : r ? MQ(e, n) : e, i = t.length - 1, o; i >= 0; i--)
43425
43429
  (o = t[i]) && (s = (r ? o(e, n, s) : o(s)) || s);
@@ -43444,7 +43448,7 @@ let ki = class t extends qe {
43444
43448
  contextObject: {
43445
43449
  payment_request_id: this.stateScofProps.paymentRequestId
43446
43450
  }
43447
- }), this.stateScof.isExtendedWs && (yield this.extendedWs()), !(pn.isPollingRunning() && !Ut.getEndPaymentTime()) && Ut.wsConnectionAttemptCount() > 0 && this.createEvent("button-pushed", at.MAIN);
43451
+ }), this.stateScof.isExtendedWs && (yield this.extendedWs()), !(pn.isPollingRunning() && !Bt.getEndPaymentTime()) && Bt.wsConnectionAttemptCount() > 0 && this.createEvent("button-pushed", at.MAIN);
43448
43452
  });
43449
43453
  }
43450
43454
  loadData() {
@@ -43674,7 +43678,7 @@ let ki = class t extends qe {
43674
43678
  extendedWs() {
43675
43679
  return ce(this, null, function* () {
43676
43680
  try {
43677
- const e = yield xi(this.stateScof.statePaymentRequest.id);
43681
+ const e = yield Ci(this.stateScof.statePaymentRequest.id);
43678
43682
  if (this.stateScof.statePaymentRequest = e.response, e.response.status === Vn.SUCCESS_PROCESSED) {
43679
43683
  let n = vn.messages.find((r) => r.status === e.response.status);
43680
43684
  n = Ld(e.response.payment_type), nt(n.status, ""), n && (this.stateStatus.title = n.title, this.stateStatus.subtitle = n.subtitle, this.stateStatus.icon = n.icon, this.stateStatus.status = n.status, this.stateStatus.name = n.name, this.stateStatus.returnButton = n.returnButton, this.stateStatus.nameReturnButton = n.nameReturnButton, this.stateScof.isActiveWs = !1, this.stateScof.isExtendedWs = !1, this.createEvent("button-pushed", at.STATUS));
@@ -44524,7 +44528,7 @@ let Ii = class extends qe {
44524
44528
  this.isShowToast = !1;
44525
44529
  }, 3e3);
44526
44530
  }), (r = this.shadowRoot) == null || r.addEventListener("button-pushed", (s) => {
44527
- this.stateScof.page = s.detail ? s.detail : at.MAIN, (s.detail === at.QR || s.detail === at.STATUS || s.detail === at.LOADING) && (this.isShowCardPayment = !1), s.detail === at.MAIN && (this.stateScof.isActiveWs || this.webSocket()), (this.stateScof.page === at.PLANS || this.stateScof.page === at.SUMMARY) && this.isShowToast === !0 && setTimeout(() => {
44531
+ this.stateScof.page = s.detail ? s.detail : at.MAIN, (s.detail === at.QR || s.detail === at.STATUS || s.detail === at.LOADING) && (this.isShowCardPayment = !1), s.detail === at.MAIN && (this.stateScof.isActiveWs || (this.webSocket(), Bt.extendHeartbeat(this.stateScof.statePaymentRequest.id))), (this.stateScof.page === at.PLANS || this.stateScof.page === at.SUMMARY) && this.isShowToast === !0 && setTimeout(() => {
44528
44532
  this.isShowToast = !1;
44529
44533
  }, 3e3), this.requestUpdate(), this.routerState(), this.stateScof.statePaymentRequest && ae.info("connectedCallback", {
44530
44534
  context: xe.CARD_ON_FILE,
@@ -44544,9 +44548,9 @@ let Ii = class extends qe {
44544
44548
  const n = t.detail.data, { payment_request: r } = n;
44545
44549
  if (pn.ignoreStatusPayment(r.status) || r.payment_id === ((i = this.stateScof.statePaymentRequest) == null ? void 0 : i.payment_id) && r.status === ((o = this.stateScof.statePaymentRequest) == null ? void 0 : o.status))
44546
44550
  return;
44547
- this.statusMessage = r.status, this.stateScof.statePaymentRequest = r, Ut.wsIsRunning() && Ut.cleanup(), pn.stopPolling("manual");
44551
+ this.statusMessage = r.status, this.stateScof.statePaymentRequest = r, Bt.wsIsRunning() && Bt.cleanup(), pn.stopPolling("manual");
44548
44552
  const s = this.setMessagePaymentStatus(r);
44549
- s && (this.stateScofStatus.title = s.title, this.stateScofStatus.subtitle = s.subtitle, this.stateScofStatus.icon = s.icon, this.stateScofStatus.status = s.status, this.stateScofStatus.name = s.name, this.stateScofStatus.returnButton = s.returnButton, this.stateScofStatus.nameReturnButton = s.nameReturnButton, this.stateScof.page = at.STATUS, this.setDurationPayment(r), this.requestUpdate(), this.routerState(), this.stateScof.isActiveWs = Ut.wsIsRunning());
44553
+ s && (this.stateScofStatus.title = s.title, this.stateScofStatus.subtitle = s.subtitle, this.stateScofStatus.icon = s.icon, this.stateScofStatus.status = s.status, this.stateScofStatus.name = s.name, this.stateScofStatus.returnButton = s.returnButton, this.stateScofStatus.nameReturnButton = s.nameReturnButton, this.stateScof.page = at.STATUS, this.setDurationPayment(r), this.requestUpdate(), this.routerState(), this.stateScof.isActiveWs = Bt.wsIsRunning());
44550
44554
  }), pn.pollingServiceInstance.addEventListener("polling-stopped", (t) => {
44551
44555
  const e = t, n = vn.messages.find((r) => r.status === e.detail.reason);
44552
44556
  n && (this.stateScofStatus.title = n.title, this.stateScofStatus.subtitle = n.subtitle, this.stateScofStatus.icon = n.icon, this.stateScofStatus.status = n.status, this.stateScofStatus.name = n.name, this.stateScofStatus.returnButton = n.returnButton, this.stateScofStatus.nameReturnButton = n.nameReturnButton), this.stateScof.page = at.STATUS, this.requestUpdate(), this.routerState();
@@ -44560,10 +44564,10 @@ let Ii = class extends qe {
44560
44564
  }
44561
44565
  webSocket() {
44562
44566
  return ce(this, null, function* () {
44563
- if (!(Ut.wsConnectionAttemptCount() > 0)) {
44567
+ if (!(Bt.wsConnectionAttemptCount() > 0)) {
44564
44568
  this.stateScof.isActiveWs = !0;
44565
44569
  try {
44566
- if ((yield Ut.connect(this.stateScof.statePaymentRequest.id)).status === "WS_DISCONNECTED") {
44570
+ if ((yield Bt.connect(this.stateScof.statePaymentRequest.id)).status === "WS_DISCONNECTED") {
44567
44571
  this.statusMessage = "WS_DISCONNECTED", this.isShowCardPayment = !1;
44568
44572
  const e = document.querySelector("confirmation-modal");
44569
44573
  e == null || e.remove();
@@ -44585,7 +44589,7 @@ let Ii = class extends qe {
44585
44589
  }
44586
44590
  setDurationPayment(t) {
44587
44591
  var o, a, d, l, c, u, h, p;
44588
- if (!Ut.getStartPaymentTime())
44592
+ if (!Bt.getStartPaymentTime())
44589
44593
  return;
44590
44594
  const { tag_user_type: e, tag_payment_type: n } = AM(this.stateScof), r = t.transactions[0].payment_method ? t.transactions[0].payment_method.name : "no_card_name", s = t.transactions[0].payment_method ? t.transactions[0].payment_method.card_type : "no_card_type", i = uM(n) ? {
44591
44595
  card_brand: r,
@@ -44600,7 +44604,7 @@ let Ii = class extends qe {
44600
44604
  tag: "PAYMENT_DURATION",
44601
44605
  is_embedded: this.payfacContext.isEmbedded,
44602
44606
  contextObject: {
44603
- duration_context: Ut.endPayment(),
44607
+ duration_context: Bt.endPayment(),
44604
44608
  payment_request_id: t == null ? void 0 : t.id,
44605
44609
  payment_request_status: this.statusMessage,
44606
44610
  payment_type: t.payment_type,
@@ -44608,13 +44612,13 @@ let Ii = class extends qe {
44608
44612
  tag_payment_type: n,
44609
44613
  card_data: i
44610
44614
  }
44611
- }), Ut.setEndPaymentTime(), this.stateScof.isAddCardConsent = !1;
44615
+ }), Bt.setEndPaymentTime(), this.stateScof.isAddCardConsent = !1;
44612
44616
  }
44613
44617
  getPaymentRequestAndRedirectToStatus() {
44614
44618
  return ce(this, null, function* () {
44615
44619
  var t;
44616
44620
  try {
44617
- const e = yield xi(this.stateScof.statePaymentRequest.id);
44621
+ const e = yield Ci(this.stateScof.statePaymentRequest.id);
44618
44622
  this.stateScof.statePaymentRequest = e.response, this.statusMessage = e.response.status, this.setDurationPayment(e.response);
44619
44623
  } catch (e) {
44620
44624
  ae.error(
@@ -44956,7 +44960,7 @@ const f0 = `@import"normalize.css";form{margin:inherit}.clickeable{cursor:pointe
44956
44960
  let n = t.replace(/\D/g, "");
44957
44961
  return e && n.length === 6 && (n = `${n.slice(0, 2)}${n.slice(4, 6)}`), n.replace(/(\d{2})(\d{0,2})/, "$1/$2");
44958
44962
  };
44959
- var wM = Object.defineProperty, _M = Object.getOwnPropertyDescriptor, Xs = (t, e, n, r) => {
44963
+ var wM = Object.defineProperty, _M = Object.getOwnPropertyDescriptor, Zs = (t, e, n, r) => {
44960
44964
  for (var s = r > 1 ? void 0 : r ? _M(e, n) : e, i = t.length - 1, o; i >= 0; i--)
44961
44965
  (o = t[i]) && (s = (r ? o(e, n, s) : o(s)) || s);
44962
44966
  return r && s && wM(e, n, s), s;
@@ -45305,43 +45309,43 @@ let os = class extends qe {
45305
45309
  os.styles = Xe`
45306
45310
  ${Je(f0)}
45307
45311
  `;
45308
- Xs([
45312
+ Zs([
45309
45313
  Ue({ context: Li, subscribe: !0 }),
45310
45314
  le()
45311
45315
  ], os.prototype, "stateScof", 2);
45312
- Xs([
45316
+ Zs([
45313
45317
  Ue({ context: mw }),
45314
45318
  le()
45315
45319
  ], os.prototype, "stateScofProps", 2);
45316
- Xs([
45320
+ Zs([
45317
45321
  Ue({ context: Qt, subscribe: !0 }),
45318
45322
  le()
45319
45323
  ], os.prototype, "payfacContext", 2);
45320
- Xs([
45324
+ Zs([
45321
45325
  T({ type: String })
45322
45326
  ], os.prototype, "cardDefault", 2);
45323
- Xs([
45327
+ Zs([
45324
45328
  T({ type: String })
45325
45329
  ], os.prototype, "iconRight", 2);
45326
- Xs([
45330
+ Zs([
45327
45331
  T({ type: Boolean })
45328
45332
  ], os.prototype, "isLoading", 2);
45329
- Xs([
45333
+ Zs([
45330
45334
  T({ type: Boolean })
45331
45335
  ], os.prototype, "isValidForm", 2);
45332
- Xs([
45336
+ Zs([
45333
45337
  T({ type: Boolean })
45334
45338
  ], os.prototype, "isRecieveData", 2);
45335
- Xs([
45339
+ Zs([
45336
45340
  T({ type: Boolean })
45337
45341
  ], os.prototype, "isTokenizationAllowed", 2);
45338
- Xs([
45342
+ Zs([
45339
45343
  T({ type: Object })
45340
45344
  ], os.prototype, "installmentPlan", 2);
45341
- Xs([
45345
+ Zs([
45342
45346
  T({ type: Object })
45343
45347
  ], os.prototype, "cardFormValue", 2);
45344
- os = Xs([
45348
+ os = Zs([
45345
45349
  He("scof-card-form")
45346
45350
  ], os);
45347
45351
  const xM = `@import"normalize.css";form{margin:inherit}.clickeable{cursor:pointer}.clickeable{display:block;transition:transform .3s ease}.clickeable:hover{transform:translate(3px)}.hidden{display:none}.skeleton-card{background-color:#d0d4d7;animation:skeleton-loading 1s linear infinite alternate;width:100%;height:43px;border-radius:8px}.skeleton{display:flex;align-items:center;justify-content:space-between;background-color:#d0d4d7;animation:skeleton-loading 1s linear infinite alternate;width:100%;height:60px;border-radius:8px;gap:16px;margin-bottom:16px}.skeleton .input{width:12px;height:10px;border-radius:8px;background-color:#c2cfd6;margin-left:10px}.skeleton .img{width:45px;height:36px;border-radius:50%;background-color:#c2cfd6}.skeleton .details{width:100%;height:auto;border-radius:8px;display:flex;flex-direction:column;gap:6px}.skeleton .text{width:200px;height:14px;border-radius:8px;background-color:#c2cfd6;margin:0}@keyframes skeleton-loading{0%{background-color:#c2cfd6}to{background-color:#f0f3f5}}:host .container{display:flex}:host .container .panel-container{background:#ffffff;width:100%;border-radius:16px;font-family:Inter,Arial,"sans-serif"}:host .container .panel-container .card-container{padding:16px 24px}:host .container .panel-container .card-container.scrolled{padding:16px 24px 0}:host .container .panel-container .card-container .card-scroll-container{display:flex;flex-direction:column;gap:16px;max-height:358px;height:auto;overflow-y:auto;margin:0;padding:2px 4px 2px 2px}:host .container .panel-container .card-container .card-scroll-container::-webkit-scrollbar{width:4px}:host .container .panel-container .card-container .card-scroll-container::-webkit-scrollbar-thumb{margin-right:20px;border-radius:2px;background:rgba(0,0,0,.38)}:host .container .panel-container .card-footer-container{padding:0 20px 20px;box-shadow:4px -6px 11.4px #0000001a;border-radius:16px}:host .container .panel-container .card-footer-container .plinth-container{display:flex;justify-content:space-between;align-items:center;padding:16px;cursor:pointer}:host .container .panel-container .card-footer-container .plinth-container .add-card-container{display:flex;align-items:center;gap:16px}:host .container .panel-container .card-footer-container .plinth-container .add-card-container .card-icon-add{border-radius:8px;background:#f0eafc;padding:12px}:host .container .panel-container .card-footer-container .plinth-container .add-card-container>span{color:#2b2b2b;font-family:Inter;font-size:18px;font-style:normal;font-weight:600;line-height:22px}:host .container .panel-container .card-footer-container .panel-footer{display:flex;justify-content:space-between;padding-top:8px}@media only screen and (max-width: 800px){:host .container .panel-container .card-footer-container .panel-footer{flex-direction:column;width:100%;text-align:center;gap:16px}}
@@ -46328,7 +46332,7 @@ let ra = class extends qe {
46328
46332
  }
46329
46333
  submit() {
46330
46334
  var t;
46331
- this.isClickSubmit || (this.isLoading = !0, this.isClickSubmit = !0, this.stateScofStatus.isStart = !0, this.createEvent("button-pushed", at.LOADING), Ut.startPayment(), ae.info("submit", {
46335
+ this.isClickSubmit || (this.isLoading = !0, this.isClickSubmit = !0, this.stateScofStatus.isStart = !0, this.createEvent("button-pushed", at.LOADING), Bt.startPayment(), ae.info("submit", {
46332
46336
  context: xe.CARD_ON_FILE,
46333
46337
  tag: "SUMMARY",
46334
46338
  is_embedded: this.payfacContext.isEmbedded,
@@ -46453,7 +46457,7 @@ class Ah extends qe {
46453
46457
  return q7(this.payfacContext.paymentRequest) && ar.allowManualInput;
46454
46458
  }
46455
46459
  startPolling() {
46456
- !Ut.wsIsRunning() && Ut.wsConnectionAttemptCount() > 0 && (pn.isPollingRunning() && pn.extendTime(), pn.isPollingRunning() || (pn.startPolling(this.payfacContext.paymentRequest.id, this.payfacContext.context), ae.info("START_POLLING", {
46460
+ !Bt.wsIsRunning() && Bt.wsConnectionAttemptCount() > 0 && (pn.isPollingRunning() && pn.extendTime(), pn.isPollingRunning() || (pn.startPolling(this.payfacContext.paymentRequest.id, this.payfacContext.context), ae.info("START_POLLING", {
46457
46461
  context: this.payfacContext.context,
46458
46462
  tag: "START_POLLING",
46459
46463
  is_embedded: this.payfacContext.isEmbedded,
@@ -46657,7 +46661,7 @@ const va = "manual-input-context", KM = "payment-manual-holder-context", eu = "p
46657
46661
  let zd = class t extends qe {
46658
46662
  constructor() {
46659
46663
  super(...arguments), this.paymentRequestId = "", this.publicKey = "", this.statePaymentManualInput = {
46660
- page: Tt.LOADING,
46664
+ page: Ut.LOADING,
46661
46665
  statePaymentRequest: null,
46662
46666
  payment: null,
46663
46667
  binData: null,
@@ -46737,7 +46741,7 @@ let sa = class extends qe {
46737
46741
  connectedCallback() {
46738
46742
  var t;
46739
46743
  super.connectedCallback(), this.pollingWatcher(), (t = this.shadowRoot) == null || t.addEventListener("button-pushed", (e) => {
46740
- this.isShowCardPayment = !0, this._statePaymentManualInput.page = e.detail ? e.detail : Tt.MANUAL_INPUT, (e.detail === Tt.QR || e.detail === Tt.STATUS || e.detail === Tt.LOADING) && (this.isShowCardPayment = !1), e.detail === Tt.MANUAL_INPUT && (this._statePaymentManualInput.isActiveWs || this.webSocket(), !this._statePaymentManualInput.isActiveInstallment && !this._statePaymentManualInput.isCardPresent && this._getinstallment()), this.requestUpdate(), this.routerState();
46744
+ this.isShowCardPayment = !0, this._statePaymentManualInput.page = e.detail ? e.detail : Ut.MANUAL_INPUT, (e.detail === Ut.QR || e.detail === Ut.STATUS || e.detail === Ut.LOADING) && (this.isShowCardPayment = !1), e.detail === Ut.MANUAL_INPUT && (this._statePaymentManualInput.isActiveWs || (this.webSocket(), Bt.extendHeartbeat(this._statePaymentManualInput.statePaymentRequest.id)), !this._statePaymentManualInput.isActiveInstallment && !this._statePaymentManualInput.isCardPresent && this._getinstallment()), this.requestUpdate(), this.routerState();
46741
46745
  });
46742
46746
  }
46743
46747
  _getinstallment() {
@@ -46784,12 +46788,12 @@ let sa = class extends qe {
46784
46788
  const n = t.detail.data.response;
46785
46789
  if (pn.ignoreStatusPayment(n.status) || ((s = this._statePaymentManualInput.statePaymentRequest) == null ? void 0 : s.payment_id) === n.payment_id && ((i = this._statePaymentManualInput.statePaymentRequest) == null ? void 0 : i.status) === n.status)
46786
46790
  return;
46787
- this.statusMessage = n.status, this._statePaymentManualInput.statePaymentRequest = n, Ut.wsIsRunning() && Ut.cleanup(), pn.stopPolling("manual");
46791
+ this.statusMessage = n.status, this._statePaymentManualInput.statePaymentRequest = n, Bt.wsIsRunning() && Bt.cleanup(), pn.stopPolling("manual");
46788
46792
  const r = this.setMessagePaymentStatus(n);
46789
- r && (this.stateStatus.title = r.title, this.stateStatus.subtitle = r.subtitle, this.stateStatus.icon = r.icon, this.stateStatus.status = r.status, this.stateStatus.name = r.name, this.stateStatus.returnButton = r.returnButton, this.stateStatus.nameReturnButton = r.nameReturnButton, this._statePaymentManualInput.page = Tt.STATUS, Ut.getStartPaymentTime() && this.setDurationPayment(n), this.requestUpdate(), this.routerState(), this._statePaymentManualInput.isActiveWs = Ut.wsIsRunning());
46793
+ r && (this.stateStatus.title = r.title, this.stateStatus.subtitle = r.subtitle, this.stateStatus.icon = r.icon, this.stateStatus.status = r.status, this.stateStatus.name = r.name, this.stateStatus.returnButton = r.returnButton, this.stateStatus.nameReturnButton = r.nameReturnButton, this._statePaymentManualInput.page = Ut.STATUS, Bt.getStartPaymentTime() && this.setDurationPayment(n), this.requestUpdate(), this.routerState(), this._statePaymentManualInput.isActiveWs = Bt.wsIsRunning());
46790
46794
  }), pn.pollingServiceInstance.addEventListener("polling-stopped", (t) => {
46791
46795
  const e = t, n = vn.messages.find((r) => r.status === e.detail.reason);
46792
- n && (this.stateStatus.title = n.title, this.stateStatus.subtitle = n.subtitle, this.stateStatus.icon = n.icon, this.stateStatus.status = n.status, this.stateStatus.name = n.name, this.stateStatus.returnButton = n.returnButton, this.stateStatus.nameReturnButton = n.nameReturnButton), this._statePaymentManualInput.page = Tt.STATUS, this.requestUpdate(), this.routerState();
46796
+ n && (this.stateStatus.title = n.title, this.stateStatus.subtitle = n.subtitle, this.stateStatus.icon = n.icon, this.stateStatus.status = n.status, this.stateStatus.name = n.name, this.stateStatus.returnButton = n.returnButton, this.stateStatus.nameReturnButton = n.nameReturnButton), this._statePaymentManualInput.page = Ut.STATUS, this.requestUpdate(), this.routerState();
46793
46797
  });
46794
46798
  }
46795
46799
  setMessagePaymentStatus(t) {
@@ -46800,10 +46804,10 @@ let sa = class extends qe {
46800
46804
  }
46801
46805
  webSocket() {
46802
46806
  return ce(this, null, function* () {
46803
- if (!(Ut.wsConnectionAttemptCount() > 0))
46807
+ if (!(Bt.wsConnectionAttemptCount() > 0))
46804
46808
  try {
46805
- const t = yield Ut.connect(this._statePaymentManualInput.statePaymentRequest.id);
46806
- if (this._statePaymentManualInput.isActiveWs = Ut.wsIsRunning(), t.status === "WS_DISCONNECTED") {
46809
+ const t = yield Bt.connect(this._statePaymentManualInput.statePaymentRequest.id);
46810
+ if (this._statePaymentManualInput.isActiveWs = Bt.wsIsRunning(), t.status === "WS_DISCONNECTED") {
46807
46811
  this.statusMessage = "WS_DISCONNECTED", this.isShowCardPayment = !1;
46808
46812
  return;
46809
46813
  }
@@ -46816,32 +46820,32 @@ let sa = class extends qe {
46816
46820
  const e = this._statePaymentManualInput.statePaymentRequest;
46817
46821
  pn.stopPolling("manual"), t = this.setMessagePaymentStatus(e);
46818
46822
  }
46819
- t && (this.stateStatus.title = t.title, this.stateStatus.subtitle = t.subtitle, this.stateStatus.icon = t.icon, this.stateStatus.status = t.status, this.stateStatus.name = t.name, this.stateStatus.returnButton = t.returnButton, this.stateStatus.nameReturnButton = t.nameReturnButton, this._statePaymentManualInput.page = Tt.STATUS, this.requestUpdate(), this.routerState(), this._statePaymentManualInput.isActiveWs = Ut.wsIsRunning());
46823
+ t && (this.stateStatus.title = t.title, this.stateStatus.subtitle = t.subtitle, this.stateStatus.icon = t.icon, this.stateStatus.status = t.status, this.stateStatus.name = t.name, this.stateStatus.returnButton = t.returnButton, this.stateStatus.nameReturnButton = t.nameReturnButton, this._statePaymentManualInput.page = Ut.STATUS, this.requestUpdate(), this.routerState(), this._statePaymentManualInput.isActiveWs = Bt.wsIsRunning());
46820
46824
  }
46821
46825
  });
46822
46826
  }
46823
46827
  setDurationPayment(t) {
46824
46828
  var e;
46825
- Ut.getStartPaymentTime() && (ae.info("paymentDuration", {
46829
+ Bt.getStartPaymentTime() && (ae.info("paymentDuration", {
46826
46830
  context: xe.DEFAULT,
46827
46831
  origin_sdk: Ug,
46828
46832
  tag: "PAYMENT_DURATION",
46829
46833
  is_embedded: this.payfacContext.isEmbedded,
46830
46834
  contextObject: {
46831
- duration_context: Ut.endPayment(),
46835
+ duration_context: Bt.endPayment(),
46832
46836
  payment_request_id: (e = this._statePaymentManualInput.statePaymentRequest) == null ? void 0 : e.id,
46833
46837
  payment_request_status: this.statusMessage,
46834
46838
  card_name: t.transactions[0].payment_method ? t.transactions[0].payment_method.name : "no_card_name",
46835
46839
  card_type: t.transactions[0].payment_method ? t.transactions[0].payment_method.card_type : "no_card_type",
46836
46840
  payment_type: t.payment_type
46837
46841
  }
46838
- }), Ut.setEndPaymentTime());
46842
+ }), Bt.setEndPaymentTime());
46839
46843
  }
46840
46844
  getPaymentRequestAndRedirectToStatus() {
46841
46845
  return ce(this, null, function* () {
46842
46846
  var t;
46843
46847
  try {
46844
- const e = yield xi(this._statePaymentManualInput.statePaymentRequest.id);
46848
+ const e = yield Ci(this._statePaymentManualInput.statePaymentRequest.id);
46845
46849
  this.setDurationPayment(e.response), this._statePaymentManualInput.statePaymentRequest = e.response, this.statusMessage = e.response.status;
46846
46850
  } catch (e) {
46847
46851
  ae.error(
@@ -46865,19 +46869,19 @@ let sa = class extends qe {
46865
46869
  _renderSubtitle() {
46866
46870
  let t = "";
46867
46871
  switch (!0) {
46868
- case this._statePaymentManualInput.page === Tt.MANUAL_INPUT:
46872
+ case this._statePaymentManualInput.page === Ut.MANUAL_INPUT:
46869
46873
  t = "Medios de pago";
46870
46874
  break;
46871
- case this._statePaymentManualInput.page === Tt.HOLDER_FORM:
46875
+ case this._statePaymentManualInput.page === Ut.HOLDER_FORM:
46872
46876
  t = "Ingresá los datos de la persona titular";
46873
46877
  break;
46874
- case this._statePaymentManualInput.page === Tt.CARD_FORM:
46878
+ case this._statePaymentManualInput.page === Ut.CARD_FORM:
46875
46879
  t = "Ingresá los datos de la Tarjeta";
46876
46880
  break;
46877
- case this._statePaymentManualInput.page === Tt.PLANS:
46881
+ case this._statePaymentManualInput.page === Ut.PLANS:
46878
46882
  t = "Elegí la cantidad de cuotas";
46879
46883
  break;
46880
- case this._statePaymentManualInput.page === Tt.SUMMARY:
46884
+ case this._statePaymentManualInput.page === Ut.SUMMARY:
46881
46885
  t = "Resumen del pago";
46882
46886
  break;
46883
46887
  default:
@@ -46892,7 +46896,7 @@ let sa = class extends qe {
46892
46896
  routerState() {
46893
46897
  var t, e, n, r, s, i, o, a, d, l;
46894
46898
  return j`
46895
- ${this._statePaymentManualInput.page === Tt.LOADING || this._statePaymentManualInput.page === Tt.QR || this._statePaymentManualInput.page === Tt.STATUS ? j`${Ex(this._statePaymentManualInput.page)}` : j` <div class="container">
46899
+ ${this._statePaymentManualInput.page === Ut.LOADING || this._statePaymentManualInput.page === Ut.QR || this._statePaymentManualInput.page === Ut.STATUS ? j`${Ex(this._statePaymentManualInput.page)}` : j` <div class="container">
46896
46900
  <div class="container-text">
46897
46901
  <h1 class="container__title">
46898
46902
  <p>
@@ -47043,14 +47047,14 @@ let xs = class extends qe {
47043
47047
  codSeg: this.cardFormValue.cvv,
47044
47048
  expired: i
47045
47049
  }, GA(this._statePaymentManualInput.binData.installment)) {
47046
- this._statePaymentManualInput.binData.installment.installment_plans.length > 0 && (this._statePaymentManualInput.installment = this._statePaymentManualInput.binData.installment.installment_plans[0]), this.createEvent("button-pushed", Tt.SUMMARY);
47050
+ this._statePaymentManualInput.binData.installment.installment_plans.length > 0 && (this._statePaymentManualInput.installment = this._statePaymentManualInput.binData.installment.installment_plans[0]), this.createEvent("button-pushed", Ut.SUMMARY);
47047
47051
  return;
47048
47052
  }
47049
- this.createEvent("button-pushed", Tt.PLANS);
47053
+ this.createEvent("button-pushed", Ut.PLANS);
47050
47054
  }
47051
47055
  }
47052
47056
  back() {
47053
- this.createEvent("button-pushed", Tt.HOLDER_FORM);
47057
+ this.createEvent("button-pushed", Ut.HOLDER_FORM);
47054
47058
  }
47055
47059
  getBrandCardAccepted() {
47056
47060
  return this._statePaymentManualInput.cardsAccepted.map((t) => M2(t));
@@ -47268,7 +47272,7 @@ let Ui = class t extends qe {
47268
47272
  doc_number: ew(this.holder.doc_number, this.holder.doc_type),
47269
47273
  doc_type: this.holder.doc_type
47270
47274
  };
47271
- sessionStorage.setItem("holder", JSON.stringify(n)), this._stateHolderPaymentManual = n, this.createEvent("button-pushed", Tt.CARD_FORM);
47275
+ sessionStorage.setItem("holder", JSON.stringify(n)), this._stateHolderPaymentManual = n, this.createEvent("button-pushed", Ut.CARD_FORM);
47272
47276
  }
47273
47277
  }
47274
47278
  _getinstallment() {
@@ -47310,7 +47314,7 @@ let Ui = class t extends qe {
47310
47314
  });
47311
47315
  }
47312
47316
  back() {
47313
- this._statePaymentManualInput.isCardPresent = !0, this.createEvent("button-pushed", Tt.MANUAL_INPUT);
47317
+ this._statePaymentManualInput.isCardPresent = !0, this.createEvent("button-pushed", Ut.MANUAL_INPUT);
47314
47318
  }
47315
47319
  createEvent(e, n) {
47316
47320
  const r = new CustomEvent(e, {
@@ -47492,10 +47496,10 @@ let Mp = class extends qe {
47492
47496
  return this.isGovernmentPlan(t) ? v2 : this.isPlanZ(t) ? y2 : b2;
47493
47497
  }
47494
47498
  back() {
47495
- this.createEvent("button-pushed", Tt.CARD_FORM);
47499
+ this.createEvent("button-pushed", Ut.CARD_FORM);
47496
47500
  }
47497
47501
  submit() {
47498
- this._statePaymentManualInput.installment = this.installmentSelected, this.createEvent("button-pushed", Tt.SUMMARY);
47502
+ this._statePaymentManualInput.installment = this.installmentSelected, this.createEvent("button-pushed", Ut.SUMMARY);
47499
47503
  }
47500
47504
  createEvent(t, e) {
47501
47505
  const n = new CustomEvent(t, {
@@ -47668,7 +47672,7 @@ let wr = class t extends qe {
47668
47672
  }
47669
47673
  retryPayment() {
47670
47674
  var e;
47671
- this.createEvent("button-pushed", Tt.LOADING), ae.info("retryPayment", {
47675
+ this.createEvent("button-pushed", Ut.LOADING), ae.info("retryPayment", {
47672
47676
  context: xe.DEFAULT,
47673
47677
  origin_sdk: Cy,
47674
47678
  tag: "RETRY_PAYMENT",
@@ -47736,11 +47740,11 @@ let wr = class t extends qe {
47736
47740
  return ce(this, null, function* () {
47737
47741
  var e;
47738
47742
  try {
47739
- if (Ut.wsConnectionAttemptCount() > 0) {
47740
- this._statePaymentManualInput.isExtendedWs = !1, this._stateStatus.isStart = !1, this.createEvent("button-pushed", Tt.LOADING);
47743
+ if (Bt.wsConnectionAttemptCount() > 0) {
47744
+ this._statePaymentManualInput.isExtendedWs = !1, this._stateStatus.isStart = !1, this.createEvent("button-pushed", Ut.LOADING);
47741
47745
  return;
47742
47746
  }
47743
- Ut.extendHeartbeat(this._statePaymentManualInput.statePaymentRequest.id), this._statePaymentManualInput.isExtendedWs = !0, this._stateStatus.isStart = !1, this.createEvent("button-pushed", Tt.LOADING), ae.info("extendHeartBeat", {
47747
+ Bt.extendHeartbeat(this._statePaymentManualInput.statePaymentRequest.id), this._statePaymentManualInput.isExtendedWs = !0, this._stateStatus.isStart = !1, this.createEvent("button-pushed", Ut.LOADING), ae.info("extendHeartBeat", {
47744
47748
  context: xe.DEFAULT,
47745
47749
  origin_sdk: Cy,
47746
47750
  tag: "EXTEND_HEART_BEAT",
@@ -47888,14 +47892,14 @@ let vl = class extends qe {
47888
47892
  }
47889
47893
  back() {
47890
47894
  if (GA(this._statePaymentManualInput.binData.installment)) {
47891
- this.createEvent("button-pushed", Tt.CARD_FORM);
47895
+ this.createEvent("button-pushed", Ut.CARD_FORM);
47892
47896
  return;
47893
47897
  }
47894
- this.createEvent("button-pushed", Tt.PLANS);
47898
+ this.createEvent("button-pushed", Ut.PLANS);
47895
47899
  }
47896
47900
  submit() {
47897
47901
  var t;
47898
- this.isLoading = !0, this._stateStatus.isStart = !0, Ut.startPayment(), Ut.wsIsRunning() && Ut.extendConnectionOnPayment(), this.createEvent("button-pushed", Tt.LOADING), ae.info("submit", {
47902
+ this.isLoading = !0, this._stateStatus.isStart = !0, Bt.startPayment(), Bt.wsIsRunning() && Bt.extendConnectionOnPayment(), this.createEvent("button-pushed", Ut.LOADING), ae.info("submit", {
47899
47903
  context: xe.DEFAULT,
47900
47904
  origin_sdk: i9,
47901
47905
  tag: "PAYMENT_SUBMITTED",
@@ -48018,7 +48022,7 @@ let Ab = class extends Ah {
48018
48022
  title="Tarjeta de crédito o débito"
48019
48023
  subtitle="${this.manualInputDescription}"
48020
48024
  ?hasPromotion="${this.hasManualInputPromotions}"
48021
- @click="${() => this.goToQr(Tt.HOLDER_FORM)}"
48025
+ @click="${() => this.goToQr(Ut.HOLDER_FORM)}"
48022
48026
  ></card-home>` : j``;
48023
48027
  }
48024
48028
  renderWalletAvailable() {
@@ -48032,7 +48036,7 @@ let Ab = class extends Ah {
48032
48036
  class="clickeable"
48033
48037
  subtitle="${this.walletDescription}"
48034
48038
  ?hasPromotion="${this.hasWalletPromotions}"
48035
- @click="${() => this.goToQr(Tt.QR)}"
48039
+ @click="${() => this.goToQr(Ut.QR)}"
48036
48040
  ></card-home>` : j``;
48037
48041
  }
48038
48042
  render() {
@@ -49610,7 +49614,7 @@ let go = class t extends qe {
49610
49614
  }
49611
49615
  firstUpdated(e) {
49612
49616
  return ce(this, null, function* () {
49613
- Xt(t.prototype, this, "firstUpdated").call(this, e), this.stateStatus.isRetry && (yield this.loadData(), this.stateStatus.isRetry = !1), this.stateStatus.isStart && (this.title = "Estamos procesando el pago", this.subtitle = "Puede tardar unos segundos.", yield this.directPaymentTransparent()), this._statePaymentManualInput.isExtendedWs && (yield this.extendedWs()), !(pn.isPollingRunning() && !Ut.getEndPaymentTime()) && Ut.wsConnectionAttemptCount() > 0 && this.createEvent("button-pushed", Tt.MANUAL_INPUT);
49617
+ Xt(t.prototype, this, "firstUpdated").call(this, e), this.stateStatus.isRetry && (yield this.loadData(), this.stateStatus.isRetry = !1), this.stateStatus.isStart && (this.title = "Estamos procesando el pago", this.subtitle = "Puede tardar unos segundos.", yield this.directPaymentTransparent()), this._statePaymentManualInput.isExtendedWs && (yield this.extendedWs()), !(pn.isPollingRunning() && !Bt.getEndPaymentTime()) && Bt.wsConnectionAttemptCount() > 0 && this.createEvent("button-pushed", Ut.MANUAL_INPUT);
49614
49618
  });
49615
49619
  }
49616
49620
  loadData() {
@@ -49621,10 +49625,10 @@ let go = class t extends qe {
49621
49625
  this._statePaymentManualInput.statePaymentRequest = e;
49622
49626
  const n = yield tw(this._statePaymentManualInput.statePaymentRequest);
49623
49627
  if (n && n.error) {
49624
- this.stateStatus.title = n.message.title, this.stateStatus.subtitle = n.message.subtitle, this.stateStatus.icon = n.message.icon, this.stateStatus.status = n.status, this.stateStatus.nameReturnButton = n.message.nameReturnButton || "", this.stateStatus.returnButton = n.message.returnButton || !1, this.stateStatus.hasDownloadPDF = n.message.hasDownloadPDF || !1, this.createEvent("button-pushed", Tt.STATUS);
49628
+ this.stateStatus.title = n.message.title, this.stateStatus.subtitle = n.message.subtitle, this.stateStatus.icon = n.message.icon, this.stateStatus.status = n.status, this.stateStatus.nameReturnButton = n.message.nameReturnButton || "", this.stateStatus.returnButton = n.message.returnButton || !1, this.stateStatus.hasDownloadPDF = n.message.hasDownloadPDF || !1, this.createEvent("button-pushed", Ut.STATUS);
49625
49629
  return;
49626
49630
  }
49627
- yield this.validateCircuitBreaker(), yield this.getPromotions(), this._statePaymentManualInput.page = Tt.MANUAL_INPUT, this.stateManualInputProps = Ve({}, this.stateManualInputProps), this.createEvent("button-pushed", this._statePaymentManualInput.page), this.requestUpdate();
49631
+ yield this.validateCircuitBreaker(), yield this.getPromotions(), this._statePaymentManualInput.page = Ut.MANUAL_INPUT, this.stateManualInputProps = Ve({}, this.stateManualInputProps), this.createEvent("button-pushed", this._statePaymentManualInput.page), this.requestUpdate();
49628
49632
  } catch (e) {
49629
49633
  nt("LOAD_DATA_ERROR", "Load data failed."), console.log(e), this.redirectByUnknownError();
49630
49634
  }
@@ -49668,7 +49672,7 @@ let go = class t extends qe {
49668
49672
  }
49669
49673
  redirectByUnknownError() {
49670
49674
  const e = vn.messages.find((n) => n.name === "unknown-error");
49671
- this.stateStatus.title = e.title, this.stateStatus.subtitle = e.subtitle, this.stateStatus.icon = e.icon, this.stateStatus.status = e.status, this.stateStatus.returnButton = e.returnButton, this.createEvent("button-pushed", Tt.STATUS);
49675
+ this.stateStatus.title = e.title, this.stateStatus.subtitle = e.subtitle, this.stateStatus.icon = e.icon, this.stateStatus.status = e.status, this.stateStatus.returnButton = e.returnButton, this.createEvent("button-pushed", Ut.STATUS);
49672
49676
  }
49673
49677
  directPaymentTransparent() {
49674
49678
  return ce(this, null, function* () {
@@ -49720,7 +49724,7 @@ let go = class t extends qe {
49720
49724
  l
49721
49725
  ), nt("DIRECT_PAYMENT_ERROR", "Direct payment failed.");
49722
49726
  const c = Gm;
49723
- this.stateStatus.title = c.title, this.stateStatus.subtitle = c.subtitle, this.stateStatus.icon = c.icon, this.stateStatus.status = c.status, this.stateStatus.name = c.name, this.stateStatus.returnButton = c.returnButton, this.stateStatus.nameReturnButton = c.nameReturnButton, this.createEvent("button-pushed", Tt.STATUS);
49727
+ this.stateStatus.title = c.title, this.stateStatus.subtitle = c.subtitle, this.stateStatus.icon = c.icon, this.stateStatus.status = c.status, this.stateStatus.name = c.name, this.stateStatus.returnButton = c.returnButton, this.stateStatus.nameReturnButton = c.nameReturnButton, this.createEvent("button-pushed", Ut.STATUS);
49724
49728
  } finally {
49725
49729
  this.stateStatus.isStart = !1;
49726
49730
  }
@@ -49729,13 +49733,13 @@ let go = class t extends qe {
49729
49733
  extendedWs() {
49730
49734
  return ce(this, null, function* () {
49731
49735
  try {
49732
- const e = yield xi(this._statePaymentManualInput.statePaymentRequest.id);
49736
+ const e = yield Ci(this._statePaymentManualInput.statePaymentRequest.id);
49733
49737
  if (this._statePaymentManualInput.statePaymentRequest = e.response, e.response.status === Vn.SUCCESS_PROCESSED) {
49734
49738
  let n = vn.messages.find((r) => r.status === e.response.status);
49735
- n = Ld(e.response.payment_type), nt(n.status, ""), n && (this.stateStatus.title = n.title, this.stateStatus.subtitle = n.subtitle, this.stateStatus.icon = n.icon, this.stateStatus.status = n.status, this.stateStatus.name = n.name, this.stateStatus.returnButton = n.returnButton, this.stateStatus.nameReturnButton = n.nameReturnButton, this._statePaymentManualInput.isActiveWs = !1, this._statePaymentManualInput.isExtendedWs = !1, this.createEvent("button-pushed", Tt.STATUS));
49739
+ n = Ld(e.response.payment_type), nt(n.status, ""), n && (this.stateStatus.title = n.title, this.stateStatus.subtitle = n.subtitle, this.stateStatus.icon = n.icon, this.stateStatus.status = n.status, this.stateStatus.name = n.name, this.stateStatus.returnButton = n.returnButton, this.stateStatus.nameReturnButton = n.nameReturnButton, this._statePaymentManualInput.isActiveWs = !1, this._statePaymentManualInput.isExtendedWs = !1, this.createEvent("button-pushed", Ut.STATUS));
49736
49740
  return;
49737
49741
  }
49738
- this.createEvent("button-pushed", Tt.MANUAL_INPUT);
49742
+ this.createEvent("button-pushed", Ut.MANUAL_INPUT);
49739
49743
  } catch (e) {
49740
49744
  console.log(e), nt("PAYMENT_REQUEST_EXTENDED_WS_ERROR", "Payment request in the extended web socket failed.");
49741
49745
  }
@@ -51018,7 +51022,7 @@ var e3 = function(t, e) {
51018
51022
  }, GH = function(t, e, n) {
51019
51023
  var r = typeof t == "number" ? t : KH(t, e, n), s = Math.abs(e * Math.sin(r)) + Math.abs(n * Math.cos(r)), i = e / 2, o = n / 2, a = s / 2, d = Math.sin(r - Math.PI / 2) * a, l = Math.cos(r - Math.PI / 2) * a;
51020
51024
  return [s, i - l, i + l, o - d, o + d];
51021
- }, hi = function(t, e) {
51025
+ }, gi = function(t, e) {
51022
51026
  return Math.sqrt(t * t + e * e);
51023
51027
  }, n3 = function(t, e, n, r, s) {
51024
51028
  var i = [
@@ -51028,7 +51032,7 @@ var e3 = function(t, e) {
51028
51032
  [t, e]
51029
51033
  ];
51030
51034
  return i.reduce(function(o, a) {
51031
- var d = a[0], l = a[1], c = hi(n - d, r - l);
51035
+ var d = a[0], l = a[1], c = gi(n - d, r - l);
51032
51036
  return (s ? c < o.optimumDistance : c > o.optimumDistance) ? {
51033
51037
  optimumCorner: a,
51034
51038
  optimumDistance: c
@@ -51045,10 +51049,10 @@ var e3 = function(t, e) {
51045
51049
  break;
51046
51050
  case 2:
51047
51051
  if (t.shape === 0)
51048
- i = o = Math.min(hi(e, n), hi(e, n - s), hi(e - r, n), hi(e - r, n - s));
51052
+ i = o = Math.min(gi(e, n), gi(e, n - s), gi(e - r, n), gi(e - r, n - s));
51049
51053
  else if (t.shape === 1) {
51050
51054
  var a = Math.min(Math.abs(n), Math.abs(n - s)) / Math.min(Math.abs(e), Math.abs(e - r)), d = n3(r, s, e, n, !0), l = d[0], c = d[1];
51051
- i = hi(l - e, (c - n) / a), o = a * i;
51055
+ i = gi(l - e, (c - n) / a), o = a * i;
51052
51056
  }
51053
51057
  break;
51054
51058
  case 1:
@@ -51056,10 +51060,10 @@ var e3 = function(t, e) {
51056
51060
  break;
51057
51061
  case 3:
51058
51062
  if (t.shape === 0)
51059
- i = o = Math.max(hi(e, n), hi(e, n - s), hi(e - r, n), hi(e - r, n - s));
51063
+ i = o = Math.max(gi(e, n), gi(e, n - s), gi(e - r, n), gi(e - r, n - s));
51060
51064
  else if (t.shape === 1) {
51061
51065
  var a = Math.max(Math.abs(n), Math.abs(n - s)) / Math.max(Math.abs(e), Math.abs(e - r)), u = n3(r, s, e, n, !1), l = u[0], c = u[1];
51062
- i = hi(l - e, (c - n) / a), o = a * i;
51066
+ i = gi(l - e, (c - n) / a), o = a * i;
51063
51067
  }
51064
51068
  break;
51065
51069
  }
@@ -54808,7 +54812,7 @@ var EG = /* @__PURE__ */ lo(wl, 9, 0), kG = /* @__PURE__ */ lo(wl, 9, 1), SG = /
54808
54812
  for (var e = t[0], n = 1; n < t.length; ++n)
54809
54813
  t[n] > e && (e = t[n]);
54810
54814
  return e;
54811
- }, ui = function(t, e, n) {
54815
+ }, pi = function(t, e, n) {
54812
54816
  var r = e / 8 | 0;
54813
54817
  return (t[r] | t[r + 1] << 8) >> (e & 7) & n;
54814
54818
  }, $y = function(t, e) {
@@ -54834,9 +54838,9 @@ var EG = /* @__PURE__ */ lo(wl, 9, 0), kG = /* @__PURE__ */ lo(wl, 9, 1), SG = /
54834
54838
  "stream finishing",
54835
54839
  "invalid zip data"
54836
54840
  // determined by unknown compression method
54837
- ], fi = function(t, e, n) {
54841
+ ], mi = function(t, e, n) {
54838
54842
  var r = new Error(e || TG[t]);
54839
- if (r.code = t, Error.captureStackTrace && Error.captureStackTrace(r, fi), !n)
54843
+ if (r.code = t, Error.captureStackTrace && Error.captureStackTrace(r, mi), !n)
54840
54844
  throw r;
54841
54845
  return r;
54842
54846
  }, UG = function(t, e, n, r) {
@@ -54854,44 +54858,44 @@ var EG = /* @__PURE__ */ lo(wl, 9, 0), kG = /* @__PURE__ */ lo(wl, 9, 1), SG = /
54854
54858
  }, c = e.f || 0, u = e.p || 0, h = e.b || 0, p = e.l, m = e.d, y = e.m, _ = e.n, b = s * 8;
54855
54859
  do {
54856
54860
  if (!p) {
54857
- c = ui(t, u, 1);
54858
- var x = ui(t, u + 1, 3);
54861
+ c = pi(t, u, 1);
54862
+ var x = pi(t, u + 1, 3);
54859
54863
  if (u += 3, x)
54860
54864
  if (x == 1)
54861
54865
  p = kG, m = IG, y = 9, _ = 5;
54862
54866
  else if (x == 2) {
54863
- var z = ui(t, u, 31) + 257, q = ui(t, u + 10, 15) + 4, M = z + ui(t, u + 5, 31) + 1;
54867
+ var z = pi(t, u, 31) + 257, q = pi(t, u + 10, 15) + 4, M = z + pi(t, u + 5, 31) + 1;
54864
54868
  u += 14;
54865
54869
  for (var J = new Fr(M), Ae = new Fr(19), D = 0; D < q; ++D)
54866
- Ae[Lb[D]] = ui(t, u + D * 3, 7);
54870
+ Ae[Lb[D]] = pi(t, u + D * 3, 7);
54867
54871
  u += q * 3;
54868
54872
  for (var Q = Zy(Ae), Y = (1 << Q) - 1, Z = lo(Ae, Q, 1), D = 0; D < M; ) {
54869
- var be = Z[ui(t, u, Y)];
54873
+ var be = Z[pi(t, u, Y)];
54870
54874
  u += be & 15;
54871
54875
  var I = be >> 4;
54872
54876
  if (I < 16)
54873
54877
  J[D++] = I;
54874
54878
  else {
54875
54879
  var ge = 0, _e = 0;
54876
- for (I == 16 ? (_e = 3 + ui(t, u, 3), u += 2, ge = J[D - 1]) : I == 17 ? (_e = 3 + ui(t, u, 7), u += 3) : I == 18 && (_e = 11 + ui(t, u, 127), u += 7); _e--; )
54880
+ for (I == 16 ? (_e = 3 + pi(t, u, 3), u += 2, ge = J[D - 1]) : I == 17 ? (_e = 3 + pi(t, u, 7), u += 3) : I == 18 && (_e = 11 + pi(t, u, 127), u += 7); _e--; )
54877
54881
  J[D++] = ge;
54878
54882
  }
54879
54883
  }
54880
54884
  var he = J.subarray(0, z), Be = J.subarray(z);
54881
54885
  y = Zy(he), _ = Zy(Be), p = lo(he, y, 1), m = lo(Be, _, 1);
54882
54886
  } else
54883
- fi(1);
54887
+ mi(1);
54884
54888
  else {
54885
54889
  var I = Rw(u) + 4, N = t[I - 4] | t[I - 3] << 8, V = I + N;
54886
54890
  if (V > s) {
54887
- d && fi(0);
54891
+ d && mi(0);
54888
54892
  break;
54889
54893
  }
54890
54894
  a && l(h + N), n.set(t.subarray(I, V), h), e.b = h += N, e.p = u = V * 8, e.f = c;
54891
54895
  continue;
54892
54896
  }
54893
54897
  if (u > b) {
54894
- d && fi(0);
54898
+ d && mi(0);
54895
54899
  break;
54896
54900
  }
54897
54901
  }
@@ -54899,10 +54903,10 @@ var EG = /* @__PURE__ */ lo(wl, 9, 0), kG = /* @__PURE__ */ lo(wl, 9, 1), SG = /
54899
54903
  for (var ie = (1 << y) - 1, Ee = (1 << _) - 1, S = u; ; S = u) {
54900
54904
  var ge = p[$y(t, u) & ie], H = ge >> 4;
54901
54905
  if (u += ge & 15, u > b) {
54902
- d && fi(0);
54906
+ d && mi(0);
54903
54907
  break;
54904
54908
  }
54905
- if (ge || fi(2), H < 256)
54909
+ if (ge || mi(2), H < 256)
54906
54910
  n[h++] = H;
54907
54911
  else if (H == 256) {
54908
54912
  S = u, p = null;
@@ -54911,24 +54915,24 @@ var EG = /* @__PURE__ */ lo(wl, 9, 0), kG = /* @__PURE__ */ lo(wl, 9, 1), SG = /
54911
54915
  var G = H - 254;
54912
54916
  if (H > 264) {
54913
54917
  var D = H - 257, ee = L0[D];
54914
- G = ui(t, u, (1 << ee) - 1) + vE[D], u += ee;
54918
+ G = pi(t, u, (1 << ee) - 1) + vE[D], u += ee;
54915
54919
  }
54916
54920
  var ne = m[$y(t, u) & Ee], ue = ne >> 4;
54917
- ne || fi(3), u += ne & 15;
54921
+ ne || mi(3), u += ne & 15;
54918
54922
  var Be = BG[ue];
54919
54923
  if (ue > 3) {
54920
54924
  var ee = Q0[ue];
54921
54925
  Be += $y(t, u) & (1 << ee) - 1, u += ee;
54922
54926
  }
54923
54927
  if (u > b) {
54924
- d && fi(0);
54928
+ d && mi(0);
54925
54929
  break;
54926
54930
  }
54927
54931
  a && l(h + 131072);
54928
54932
  var ve = h + G;
54929
54933
  if (h < Be) {
54930
54934
  var we = i - Be, Qe = Math.min(Be, ve);
54931
- for (we + h < 0 && fi(3); h < Qe; ++h)
54935
+ for (we + h < 0 && mi(3); h < Qe; ++h)
54932
54936
  n[h] = r[we + h];
54933
54937
  }
54934
54938
  for (; h < ve; ++h)
@@ -55143,7 +55147,7 @@ var EG = /* @__PURE__ */ lo(wl, 9, 0), kG = /* @__PURE__ */ lo(wl, 9, 1), SG = /
55143
55147
  s.p(e.dictionary), BE(t, 2, s.d());
55144
55148
  }
55145
55149
  }, RG = function(t, e) {
55146
- return ((t[0] & 15) != 8 || t[0] >> 4 > 7 || (t[0] << 8 | t[1]) % 31) && fi(6, "invalid zlib data"), (t[1] >> 5 & 1) == +!e && fi(6, "invalid zlib data: " + (t[1] & 32 ? "need" : "unexpected") + " dictionary"), (t[1] >> 3 & 4) + 2;
55150
+ return ((t[0] & 15) != 8 || t[0] >> 4 > 7 || (t[0] << 8 | t[1]) % 31) && mi(6, "invalid zlib data"), (t[1] >> 5 & 1) == +!e && mi(6, "invalid zlib data: " + (t[1] & 32 ? "need" : "unexpected") + " dictionary"), (t[1] >> 3 & 4) + 2;
55147
55151
  };
55148
55152
  function Hb(t, e) {
55149
55153
  e || (e = {});
@@ -55618,7 +55622,7 @@ function gt(t) {
55618
55622
  }, ee = p.__private__.padd2Hex = function(f) {
55619
55623
  return ("00" + (f = f.toString())).substr(f.length);
55620
55624
  }, ne = 0, ue = [], ve = [], we = 0, Qe = [], De = [], Me = !1, ze = ve, ct = function() {
55621
- ne = 0, we = 0, ve = [], ue = [], Qe = [], So = Ln(), ni = Ln();
55625
+ ne = 0, we = 0, ve = [], ue = [], Qe = [], So = Ln(), ri = Ln();
55622
55626
  };
55623
55627
  p.__private__.setCustomOutputDestination = function(f) {
55624
55628
  Me = !0, ze = f;
@@ -55701,7 +55705,7 @@ function gt(t) {
55701
55705
  throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");
55702
55706
  return et[f] = k;
55703
55707
  };
55704
- var Bt, Ye, Yn, Mt, $s, rn = {}, fn = {}, Ki = [], Kt = {}, Ml = {}, bn = {}, ei = {}, ko = null, wn = 0, wt = [], Gt = new Q3(p), zl = t.hotfixes || [], Ar = {}, Gi = {}, Wi = [], ft = function f(k, W, te, pe, Te, Le) {
55708
+ var Et, Ye, Yn, Mt, ei, rn = {}, fn = {}, Ki = [], Kt = {}, Ml = {}, bn = {}, ti = {}, ko = null, wn = 0, wt = [], Gt = new Q3(p), zl = t.hotfixes || [], Ar = {}, Gi = {}, Wi = [], ft = function f(k, W, te, pe, Te, Le) {
55705
55709
  if (!(this instanceof f))
55706
55710
  return new f(k, W, te, pe, Te, Le);
55707
55711
  isNaN(k) && (k = 1), isNaN(W) && (W = 0), isNaN(te) && (te = 0), isNaN(pe) && (pe = 1), isNaN(Te) && (Te = 0), isNaN(Le) && (Le = 0), this._matrix = [k, W, te, pe, Te, Le];
@@ -55787,7 +55791,7 @@ function gt(t) {
55787
55791
  var f = this.sx, k = this.shy, W = this.shx, te = this.sy, pe = this.tx, Te = this.ty;
55788
55792
  return new ft(f, k, W, te, pe, Te);
55789
55793
  }, p.Matrix = ft;
55790
- var ti = p.matrixMult = function(f, k) {
55794
+ var ni = p.matrixMult = function(f, k) {
55791
55795
  return k.multiply(f);
55792
55796
  }, Yi = new ft(1, 0, 0, 1, 0, 0);
55793
55797
  p.unitMatrix = p.identityMatrix = Yi;
@@ -55817,7 +55821,7 @@ function gt(t) {
55817
55821
  }, cc = p.__private__.newAdditionalObject = function() {
55818
55822
  var f = { objId: Ln(), content: "" };
55819
55823
  return Qe.push(f), f;
55820
- }, So = Ln(), ni = Ln(), ri = p.__private__.decodeColorString = function(f) {
55824
+ }, So = Ln(), ri = Ln(), si = p.__private__.decodeColorString = function(f) {
55821
55825
  var k = f.split(" ");
55822
55826
  if (k.length !== 2 || k[1] !== "g" && k[1] !== "G")
55823
55827
  k.length === 5 && (k[4] === "k" || k[4] === "K") && (k = [(1 - k[0]) * (1 - k[3]), (1 - k[1]) * (1 - k[3]), (1 - k[2]) * (1 - k[3]), "r"]);
@@ -55828,7 +55832,7 @@ function gt(t) {
55828
55832
  for (var te = "#", pe = 0; pe < 3; pe++)
55829
55833
  te += ("0" + Math.floor(255 * parseFloat(k[pe])).toString(16)).slice(-2);
55830
55834
  return te;
55831
- }, si = p.__private__.encodeColorString = function(f) {
55835
+ }, ii = p.__private__.encodeColorString = function(f) {
55832
55836
  var k;
55833
55837
  typeof f == "string" && (f = { ch1: f });
55834
55838
  var W = f.ch1, te = f.ch2, pe = f.ch3, Te = f.ch4, Le = f.pdfColorType === "draw" ? ["G", "RG", "K"] : ["g", "rg", "k"];
@@ -55921,7 +55925,7 @@ Q`), us(pe, !0), Ts({ data: Te, filters: Ji(), objectId: pe }), X("endobj"), te;
55921
55925
  for (f = 1; f <= wn; f++)
55922
55926
  wt[f].objId = Ln(), wt[f].contentsObjId = Ln();
55923
55927
  for (f = 1; f <= wn; f++)
55924
- W.push(Xi({ number: f, data: De[f], objId: wt[f].objId, contentsObjId: wt[f].contentsObjId, mediaBox: wt[f].mediaBox, cropBox: wt[f].cropBox, bleedBox: wt[f].bleedBox, trimBox: wt[f].trimBox, artBox: wt[f].artBox, userUnit: wt[f].userUnit, rootDictionaryObjId: So, resourceDictionaryObjId: ni }));
55928
+ W.push(Xi({ number: f, data: De[f], objId: wt[f].objId, contentsObjId: wt[f].contentsObjId, mediaBox: wt[f].mediaBox, cropBox: wt[f].cropBox, bleedBox: wt[f].bleedBox, trimBox: wt[f].trimBox, artBox: wt[f].artBox, userUnit: wt[f].userUnit, rootDictionaryObjId: So, resourceDictionaryObjId: ri }));
55925
55929
  us(So, !0), X("<</Type /Pages");
55926
55930
  var te = "/Kids [";
55927
55931
  for (k = 0; k < wn; k++)
@@ -56023,7 +56027,7 @@ Q`), us(pe, !0), Ts({ data: Te, filters: Ji(), objectId: pe }), X("endobj"), te;
56023
56027
  us(f.resourcesOid, !0), X("<<"), X("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"), xh(), Y0(), fc(f.objectOid), J0(), du(), X(">>"), X("endobj");
56024
56028
  }, Ch = function() {
56025
56029
  var f = [];
56026
- uc(), G0(), hc(), gc(f), Gt.publish("putResources"), f.forEach(Sn), Sn({ resourcesOid: ni, objectOid: Number.MAX_SAFE_INTEGER }), Gt.publish("postPutResources");
56030
+ uc(), G0(), hc(), gc(f), Gt.publish("putResources"), f.forEach(Sn), Sn({ resourcesOid: ri, objectOid: Number.MAX_SAFE_INTEGER }), Gt.publish("postPutResources");
56027
56031
  }, Bh = function() {
56028
56032
  Gt.publish("putAdditionalObjects");
56029
56033
  for (var f = 0; f < Qe.length; f++) {
@@ -56044,7 +56048,7 @@ Q`), us(pe, !0), Ts({ data: Te, filters: Ji(), objectId: pe }), X("endobj"), te;
56044
56048
  Eh({ id: te, fontName: pe[0], fontStyle: pe[1] || "" });
56045
56049
  }
56046
56050
  Gt.publish("addFonts", { fonts: rn, dictionary: fn });
56047
- }, ii = function(f) {
56051
+ }, oi = function(f) {
56048
56052
  return f.foo = function() {
56049
56053
  try {
56050
56054
  return f.apply(this, arguments);
@@ -56060,7 +56064,7 @@ Q`), us(pe, !0), Ts({ data: Te, filters: Ji(), objectId: pe }), X("endobj"), te;
56060
56064
  }, f.foo.bar = f, f.foo;
56061
56065
  }, mc = function(f, k) {
56062
56066
  var W, te, pe, Te, Le, $e, ut, Ct, _t;
56063
- if (pe = (k = k || {}).sourceEncoding || "Unicode", Le = k.outputEncoding, (k.autoencode || Le) && rn[Bt].metadata && rn[Bt].metadata[pe] && rn[Bt].metadata[pe].encoding && (Te = rn[Bt].metadata[pe].encoding, !Le && rn[Bt].encoding && (Le = rn[Bt].encoding), !Le && Te.codePages && (Le = Te.codePages[0]), typeof Le == "string" && (Le = Te[Le]), Le)) {
56067
+ if (pe = (k = k || {}).sourceEncoding || "Unicode", Le = k.outputEncoding, (k.autoencode || Le) && rn[Et].metadata && rn[Et].metadata[pe] && rn[Et].metadata[pe].encoding && (Te = rn[Et].metadata[pe].encoding, !Le && rn[Et].encoding && (Le = rn[Et].encoding), !Le && Te.codePages && (Le = Te.codePages[0]), typeof Le == "string" && (Le = Te[Le]), Le)) {
56064
56068
  for (ut = !1, $e = [], W = 0, te = f.length; W < te; W++)
56065
56069
  (Ct = Le[f.charCodeAt(W)]) ? $e.push(String.fromCharCode(Ct)) : $e.push(f[W]), $e[W].charCodeAt(0) >> 8 && (ut = !0);
56066
56070
  f = $e.join("");
@@ -56088,7 +56092,7 @@ Q`), us(pe, !0), Ts({ data: Te, filters: Ji(), objectId: pe }), X("endobj"), te;
56088
56092
  case "p":
56089
56093
  te > pe && (s = [pe, te]);
56090
56094
  }
56091
- Au(s), Fh(gu), X(oi), mu !== 0 && X(mu + " J"), yu !== 0 && X(yu + " j"), Gt.publish("addPage", { pageNumber: wn });
56095
+ Au(s), Fh(gu), X(ai), mu !== 0 && X(mu + " J"), yu !== 0 && X(yu + " j"), Gt.publish("addPage", { pageNumber: wn });
56092
56096
  }, Z0 = function(f) {
56093
56097
  f > 0 && f <= wn && (De.splice(f, 1), wt.splice(f, 1), wn--, H > wn && (H = wn), this.setPage(H));
56094
56098
  }, Sh = function(f) {
@@ -56097,7 +56101,7 @@ Q`), us(pe, !0), Ts({ data: Te, filters: Ji(), objectId: pe }), X("endobj"), te;
56097
56101
  return De.length - 1;
56098
56102
  }, Ih = function(f, k, W) {
56099
56103
  var te, pe = void 0;
56100
- return W = W || {}, f = f !== void 0 ? f : rn[Bt].fontName, k = k !== void 0 ? k : rn[Bt].fontStyle, te = f.toLowerCase(), fn[te] !== void 0 && fn[te][k] !== void 0 ? pe = fn[te][k] : fn[f] !== void 0 && fn[f][k] !== void 0 ? pe = fn[f][k] : W.disableWarning === !1 && an.warn("Unable to look up font label for font '" + f + "', '" + k + "'. Refer to getFontList() for available fonts."), pe || W.noFallback || (pe = fn.times[k]) == null && (pe = fn.times.normal), pe;
56104
+ return W = W || {}, f = f !== void 0 ? f : rn[Et].fontName, k = k !== void 0 ? k : rn[Et].fontStyle, te = f.toLowerCase(), fn[te] !== void 0 && fn[te][k] !== void 0 ? pe = fn[te][k] : fn[f] !== void 0 && fn[f][k] !== void 0 ? pe = fn[f][k] : W.disableWarning === !1 && an.warn("Unable to look up font label for font '" + f + "', '" + k + "'. Refer to getFontList() for available fonts."), pe || W.noFallback || (pe = fn.times[k]) == null && (pe = fn.times.normal), pe;
56101
56105
  }, e1 = p.__private__.putInfo = function() {
56102
56106
  var f = Jn(), k = function(te) {
56103
56107
  return te;
@@ -56155,7 +56159,7 @@ Q`), us(pe, !0), Ts({ data: Te, filters: Ji(), objectId: pe }), X("endobj"), te;
56155
56159
  `);
56156
56160
  }, yc = p.__private__.getBlob = function(f) {
56157
56161
  return new Blob([R(f)], { type: "application/pdf" });
56158
- }, vc = p.output = p.__private__.output = ii(function(f, k) {
56162
+ }, vc = p.output = p.__private__.output = oi(function(f, k) {
56159
56163
  switch (typeof (k = k || {}) == "string" ? k = { filename: k } : k.filename = k.filename || "generated.pdf", f) {
56160
56164
  case void 0:
56161
56165
  return Io();
@@ -56298,7 +56302,7 @@ Q`), us(pe, !0), Ts({ data: Te, filters: Ji(), objectId: pe }), X("endobj"), te;
56298
56302
  throw new Error("Invalid arguments passed to jsPDF.text");
56299
56303
  if (f.length === 0)
56300
56304
  return Qn;
56301
- var tr = "", ai = !1, ps = typeof te.lineHeightFactor == "number" ? te.lineHeightFactor : Vl, eo = Qn.internal.scaleFactor;
56305
+ var tr = "", li = !1, ps = typeof te.lineHeightFactor == "number" ? te.lineHeightFactor : Vl, eo = Qn.internal.scaleFactor;
56302
56306
  function Qh(cn) {
56303
56307
  return cn = cn.split(" ").join(Array(te.TabLen || 9).join(" ")), $r(cn, Nt);
56304
56308
  }
@@ -56347,7 +56351,7 @@ Q`), us(pe, !0), Ts({ data: Te, filters: Ji(), objectId: pe }), X("endobj"), te;
56347
56351
  }
56348
56352
  if ((_t = te.maxWidth || 0) > 0 && (typeof f == "string" ? f = Qn.splitTextToSize(f, _t) : Object.prototype.toString.call(f) === "[object Array]" && (f = f.reduce(function(cn, An) {
56349
56353
  return cn.concat(Qn.splitTextToSize(An, _t));
56350
- }, []))), Te = { text: f, x: k, y: W, options: te, mutex: { pdfEscape: $r, activeFontKey: Bt, fonts: rn, activeFontSize: C } }, Gt.publish("preProcessText", Te), f = Te.text, $e = (te = Te.options).angle, !(_n instanceof ft) && $e && typeof $e == "number") {
56354
+ }, []))), Te = { text: f, x: k, y: W, options: te, mutex: { pdfEscape: $r, activeFontKey: Et, fonts: rn, activeFontSize: C } }, Gt.publish("preProcessText", Te), f = Te.text, $e = (te = Te.options).angle, !(_n instanceof ft) && $e && typeof $e == "number") {
56351
56355
  $e *= Math.PI / 180, te.rotationDirection === 0 && ($e = -$e), I === x.ADVANCED && ($e = -$e);
56352
56356
  var Ic = Math.cos($e), ku = Math.sin($e);
56353
56357
  _n = new ft(Ic, ku, -ku, Ic, 0, 0);
@@ -56396,7 +56400,7 @@ Q`), us(pe, !0), Ts({ data: Te, filters: Ji(), objectId: pe }), X("endobj"), te;
56396
56400
  es !== -1 ? tr += es + ` Tr
56397
56401
  ` : Mh !== -1 && (tr += `0 Tr
56398
56402
  `), es !== -1 && (Su.usedRenderingMode = es), ut = te.align || "left";
56399
- var Us, Tc = C * ps, zh = Qn.internal.pageSize.getWidth(), Hh = rn[Bt];
56403
+ var Us, Tc = C * ps, zh = Qn.internal.pageSize.getWidth(), Hh = rn[Et];
56400
56404
  Ct = te.charSpace || _c, _t = te.maxWidth || 0, Nt = Object.assign({ autoencode: !0, noBOM: !0 }, te.flags);
56401
56405
  var ka = [], Wl = function(cn) {
56402
56406
  return Qn.getStringUnitWidth(cn, { font: Hh, charSpace: Ct, fontSize: C, doKerning: !1 }) * C / eo;
@@ -56440,23 +56444,23 @@ Q`), us(pe, !0), Ts({ data: Te, filters: Ji(), objectId: pe }), X("endobj"), te;
56440
56444
  var qh = typeof te.R2L == "boolean" ? te.R2L : fe;
56441
56445
  qh === !0 && (f = Cu(f, function(cn, An, Tn) {
56442
56446
  return [cn.split("").reverse().join(""), An, Tn];
56443
- })), Te = { text: f, x: k, y: W, options: te, mutex: { pdfEscape: $r, activeFontKey: Bt, fonts: rn, activeFontSize: C } }, Gt.publish("postProcessText", Te), f = Te.text, ai = Te.mutex.isHex || !1;
56444
- var Tu = rn[Bt].encoding;
56447
+ })), Te = { text: f, x: k, y: W, options: te, mutex: { pdfEscape: $r, activeFontKey: Et, fonts: rn, activeFontSize: C } }, Gt.publish("postProcessText", Te), f = Te.text, li = Te.mutex.isHex || !1;
56448
+ var Tu = rn[Et].encoding;
56445
56449
  Tu !== "WinAnsiEncoding" && Tu !== "StandardEncoding" || (f = Cu(f, function(cn, An, Tn) {
56446
56450
  return [Qh(cn), An, Tn];
56447
56451
  })), Le = xu(f), f = [];
56448
56452
  for (var Yl, Jl, Ia, Xl = 0, jc = 1, Zl = Array.isArray(Le[0]) ? jc : Xl, Ta = "", Uu = function(cn, An, Tn) {
56449
56453
  var Xn = "";
56450
- return Tn instanceof ft ? (Tn = typeof te.angle == "number" ? ti(Tn, new ft(1, 0, 0, 1, cn, An)) : ti(new ft(1, 0, 0, 1, cn, An), Tn), I === x.ADVANCED && (Tn = ti(new ft(1, 0, 0, -1, 0, 0), Tn)), Xn = Tn.join(" ") + ` Tm
56454
+ return Tn instanceof ft ? (Tn = typeof te.angle == "number" ? ni(Tn, new ft(1, 0, 0, 1, cn, An)) : ni(new ft(1, 0, 0, 1, cn, An), Tn), I === x.ADVANCED && (Tn = ni(new ft(1, 0, 0, -1, 0, 0), Tn)), Xn = Tn.join(" ") + ` Tm
56451
56455
  `) : Xn = q(cn) + " " + q(An) + ` Td
56452
56456
  `, Xn;
56453
56457
  }, js = 0; js < Le.length; js++) {
56454
56458
  switch (Ta = "", Zl) {
56455
56459
  case jc:
56456
- Ia = (ai ? "<" : "(") + Le[js][0] + (ai ? ">" : ")"), Yl = parseFloat(Le[js][1]), Jl = parseFloat(Le[js][2]);
56460
+ Ia = (li ? "<" : "(") + Le[js][0] + (li ? ">" : ")"), Yl = parseFloat(Le[js][1]), Jl = parseFloat(Le[js][2]);
56457
56461
  break;
56458
56462
  case Xl:
56459
- Ia = (ai ? "<" : "(") + Le[js] + (ai ? ">" : ")"), Yl = $i(k), Jl = To(W);
56463
+ Ia = (li ? "<" : "(") + Le[js] + (li ? ">" : ")"), Yl = $i(k), Jl = To(W);
56460
56464
  }
56461
56465
  ka !== void 0 && ka[js] !== void 0 && (Ta = ka[js] + ` Tw
56462
56466
  `), js === 0 ? f.push(Ta + Uu(Yl, Jl, _n) + Ia) : Zl === Xl ? f.push(Ta + Ia) : Zl === jc && f.push(Ta + Uu(Yl, Jl, _n) + Ia);
@@ -56467,10 +56471,10 @@ T* `) : f.join(` Tj
56467
56471
  `;
56468
56472
  var Fs = `BT
56469
56473
  /`;
56470
- return Fs += Bt + " " + C + ` Tf
56474
+ return Fs += Et + " " + C + ` Tf
56471
56475
  `, Fs += q(C * ps) + ` TL
56472
56476
  `, Fs += Kl + `
56473
- `, Fs += tr, Fs += f, X(Fs += "ET"), h[Bt] = !0, Qn;
56477
+ `, Fs += tr, Fs += f, X(Fs += "ET"), h[Et] = !0, Qn;
56474
56478
  };
56475
56479
  var o1 = p.__private__.clip = p.clip = function(f) {
56476
56480
  return X(f === "evenodd" ? "W*" : "W"), this;
@@ -56569,8 +56573,8 @@ T* `) : f.join(` Tj
56569
56573
  throw new Error("Invalid arguments passed to jsPDF.line");
56570
56574
  return I === x.COMPAT ? this.lines([[W - f, te - k]], f, k, [1, 1], pe || "S") : this.lines([[W - f, te - k]], f, k, [1, 1]).stroke();
56571
56575
  }, p.__private__.lines = p.lines = function(f, k, W, te, pe, Te) {
56572
- var Le, $e, ut, Ct, _t, Nt, yn, _n, Qn, Cr, tr, ai;
56573
- if (typeof f == "number" && (ai = W, W = k, k = f, f = ai), te = te || [1, 1], Te = Te || !1, isNaN(k) || isNaN(W) || !Array.isArray(f) || !Array.isArray(te) || !Zi(pe) || typeof Te != "boolean")
56576
+ var Le, $e, ut, Ct, _t, Nt, yn, _n, Qn, Cr, tr, li;
56577
+ if (typeof f == "number" && (li = W, W = k, k = f, f = li), te = te || [1, 1], Te = Te || !1, isNaN(k) || isNaN(W) || !Array.isArray(f) || !Array.isArray(te) || !Zi(pe) || typeof Te != "boolean")
56574
56578
  throw new Error("Invalid arguments passed to jsPDF.lines");
56575
56579
  for (hu(k, W), Le = te[0], $e = te[1], Ct = f.length, Cr = k, tr = W, ut = 0; ut < Ct; ut++)
56576
56580
  (_t = f[ut]).length === 2 ? (Cr = _t[0] * Le + Cr, tr = _t[1] * $e + tr, ql(Cr, tr)) : (Nt = _t[0] * Le + Cr, yn = _t[1] * $e + tr, _n = _t[2] * Le + Cr, Qn = _t[3] * $e + tr, Cr = _t[4] * Le + Cr, tr = _t[5] * $e + tr, Ca(Nt, yn, _n, Qn, Cr, tr));
@@ -56616,7 +56620,7 @@ T* `) : f.join(` Tj
56616
56620
  throw new Error("Invalid arguments passed to jsPDF.circle");
56617
56621
  return this.ellipse(f, k, W, W, te);
56618
56622
  }, p.setFont = function(f, k, W) {
56619
- return W && (k = z(k, W)), Bt = Ih(f, k, { disableWarning: !1 }), this;
56623
+ return W && (k = z(k, W)), Et = Ih(f, k, { disableWarning: !1 }), this;
56620
56624
  };
56621
56625
  var c1 = p.__private__.getFont = p.getFont = function() {
56622
56626
  return rn[Ih.apply(p, arguments)];
@@ -56664,23 +56668,23 @@ T* `) : f.join(` Tj
56664
56668
  return q($i(f));
56665
56669
  }, Ba = p.__private__.getVerticalCoordinateString = p.getVerticalCoordinateString = function(f) {
56666
56670
  return q(To(f));
56667
- }, oi = t.strokeColor || "0 G";
56671
+ }, ai = t.strokeColor || "0 G";
56668
56672
  p.__private__.getStrokeColor = p.getDrawColor = function() {
56669
- return ri(oi);
56673
+ return si(ai);
56670
56674
  }, p.__private__.setStrokeColor = p.setDrawColor = function(f, k, W, te) {
56671
- return oi = si({ ch1: f, ch2: k, ch3: W, ch4: te, pdfColorType: "draw", precision: 2 }), X(oi), this;
56675
+ return ai = ii({ ch1: f, ch2: k, ch3: W, ch4: te, pdfColorType: "draw", precision: 2 }), X(ai), this;
56672
56676
  };
56673
56677
  var fu = t.fillColor || "0 g";
56674
56678
  p.__private__.getFillColor = p.getFillColor = function() {
56675
- return ri(fu);
56679
+ return si(fu);
56676
56680
  }, p.__private__.setFillColor = p.setFillColor = function(f, k, W, te) {
56677
- return fu = si({ ch1: f, ch2: k, ch3: W, ch4: te, pdfColorType: "fill", precision: 2 }), X(fu), this;
56681
+ return fu = ii({ ch1: f, ch2: k, ch3: W, ch4: te, pdfColorType: "fill", precision: 2 }), X(fu), this;
56678
56682
  };
56679
56683
  var Kl = t.textColor || "0 g", u1 = p.__private__.getTextColor = p.getTextColor = function() {
56680
- return ri(Kl);
56684
+ return si(Kl);
56681
56685
  };
56682
56686
  p.__private__.setTextColor = p.setTextColor = function(f, k, W, te) {
56683
- return Kl = si({ ch1: f, ch2: k, ch3: W, ch4: te, pdfColorType: "text", precision: 3 }), this;
56687
+ return Kl = ii({ ch1: f, ch2: k, ch3: W, ch4: te, pdfColorType: "text", precision: 3 }), this;
56684
56688
  };
56685
56689
  var _c = t.charSpace, p1 = p.__private__.getCharSpace = p.getCharSpace = function() {
56686
56690
  return parseFloat(_c || 0);
@@ -56708,10 +56712,10 @@ T* `) : f.join(` Tj
56708
56712
  throw new Error("Invalid argument passed to jsPDF.setLineMiterLimit");
56709
56713
  return X(q(Q(f)) + " M"), this;
56710
56714
  }, p.GState = Sm, p.setGState = function(f) {
56711
- (f = typeof f == "string" ? bn[ei[f]] : Nh(null, f)).equals(ko) || (X("/" + f.id + " gs"), ko = f);
56715
+ (f = typeof f == "string" ? bn[ti[f]] : Nh(null, f)).equals(ko) || (X("/" + f.id + " gs"), ko = f);
56712
56716
  };
56713
56717
  var Nh = function(f, k) {
56714
- if (!f || !ei[f]) {
56718
+ if (!f || !ti[f]) {
56715
56719
  var W = !1;
56716
56720
  for (var te in bn)
56717
56721
  if (bn.hasOwnProperty(te) && bn[te].equals(k)) {
@@ -56724,17 +56728,17 @@ T* `) : f.join(` Tj
56724
56728
  var pe = "GS" + (Object.keys(bn).length + 1).toString(10);
56725
56729
  bn[pe] = k, k.id = pe;
56726
56730
  }
56727
- return f && (ei[f] = k.id), Gt.publish("addGState", k), k;
56731
+ return f && (ti[f] = k.id), Gt.publish("addGState", k), k;
56728
56732
  }
56729
56733
  };
56730
56734
  p.addGState = function(f, k) {
56731
56735
  return Nh(f, k), this;
56732
56736
  }, p.saveGraphicsState = function() {
56733
- return X("q"), Ki.push({ key: Bt, size: C, color: Kl }), this;
56737
+ return X("q"), Ki.push({ key: Et, size: C, color: Kl }), this;
56734
56738
  }, p.restoreGraphicsState = function() {
56735
56739
  X("Q");
56736
56740
  var f = Ki.pop();
56737
- return Bt = f.key, C = f.size, Kl = f.color, ko = null, this;
56741
+ return Et = f.key, C = f.size, Kl = f.color, ko = null, this;
56738
56742
  }, p.setCurrentTransformationMatrix = function(f) {
56739
56743
  return X(f.toString() + " cm"), this;
56740
56744
  }, p.comment = function(f) {
@@ -56774,13 +56778,13 @@ T* `) : f.join(` Tj
56774
56778
  isNaN(Le) || (Te = parseFloat(Le));
56775
56779
  } }), this;
56776
56780
  }, bu = function() {
56777
- this.page = wn, this.currentPage = H, this.pages = De.slice(0), this.pagesContext = wt.slice(0), this.x = Yn, this.y = Mt, this.matrix = $s, this.width = Gl(H), this.height = Ea(H), this.outputDestination = ze, this.id = "", this.objectNumber = -1;
56781
+ this.page = wn, this.currentPage = H, this.pages = De.slice(0), this.pagesContext = wt.slice(0), this.x = Yn, this.y = Mt, this.matrix = ei, this.width = Gl(H), this.height = Ea(H), this.outputDestination = ze, this.id = "", this.objectNumber = -1;
56778
56782
  };
56779
56783
  bu.prototype.restore = function() {
56780
- wn = this.page, H = this.currentPage, wt = this.pagesContext, De = this.pages, Yn = this.x, Mt = this.y, $s = this.matrix, wu(H, this.width), _u(H, this.height), ze = this.outputDestination;
56784
+ wn = this.page, H = this.currentPage, wt = this.pagesContext, De = this.pages, Yn = this.x, Mt = this.y, ei = this.matrix, wu(H, this.width), _u(H, this.height), ze = this.outputDestination;
56781
56785
  };
56782
56786
  var Lh = function(f, k, W, te, pe) {
56783
- Wi.push(new bu()), wn = H = 0, De = [], Yn = f, Mt = k, $s = pe, Au([W, te]);
56787
+ Wi.push(new bu()), wn = H = 0, De = [], Yn = f, Mt = k, ei = pe, Au([W, te]);
56784
56788
  }, h1 = function(f) {
56785
56789
  if (Gi[f])
56786
56790
  Wi.pop().restore();
@@ -56839,7 +56843,7 @@ T* `) : f.join(` Tj
56839
56843
  return Ea(H);
56840
56844
  }, set: function(f) {
56841
56845
  _u(H, f);
56842
- }, enumerable: !0, configurable: !0 }), X0.call(p, w), Bt = "F1", kh(s, n), Gt.publish("initialized"), p;
56846
+ }, enumerable: !0, configurable: !0 }), X0.call(p, w), Et = "F1", kh(s, n), Gt.publish("initialized"), p;
56843
56847
  }
56844
56848
  aA.prototype.lsbFirstWord = function(t) {
56845
56849
  return String.fromCharCode(t >> 0 & 255, t >> 8 & 255, t >> 16 & 255, t >> 24 & 255);
@@ -58562,16 +58566,16 @@ var of, K3, G3, iv = ["times"];
58562
58566
  var C = X[6], L = /^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(w)[2];
58563
58567
  w = Math.floor(L === "px" ? parseFloat(w) * this.pdf.internal.scaleFactor : L === "em" ? parseFloat(w) * this.pdf.getFontSize() : parseFloat(w) * this.pdf.internal.scaleFactor), this.pdf.setFontSize(w);
58564
58568
  var $ = function(et) {
58565
- var Bt, Ye, Yn = [], Mt = et.trim();
58569
+ var Et, Ye, Yn = [], Mt = et.trim();
58566
58570
  if (Mt === "")
58567
58571
  return iv;
58568
58572
  if (Mt in H3)
58569
58573
  return [H3[Mt]];
58570
58574
  for (; Mt !== ""; ) {
58571
- switch (Ye = null, Bt = (Mt = V3(Mt)).charAt(0)) {
58575
+ switch (Ye = null, Et = (Mt = V3(Mt)).charAt(0)) {
58572
58576
  case '"':
58573
58577
  case "'":
58574
- Ye = rW(Mt.substring(1), Bt);
58578
+ Ye = rW(Mt.substring(1), Et);
58575
58579
  break;
58576
58580
  default:
58577
58581
  Ye = sW(Mt);
@@ -58807,15 +58811,15 @@ var of, K3, G3, iv = ["times"];
58807
58811
  if (I($), this.autoPaging)
58808
58812
  for (var Ce = $[0], We = $[$.length - 1], st = Ce; st < We + 1; st++) {
58809
58813
  this.pdf.setPage(st);
58810
- var At = this.pdf.internal.pageSize.width - this.margin[3] - this.margin[1], vt = st === 1 ? this.posY + this.margin[0] : this.margin[0], et = this.pdf.internal.pageSize.height - this.posY - this.margin[0] - this.margin[2], Bt = this.pdf.internal.pageSize.height - this.margin[0] - this.margin[2], Ye = st === 1 ? 0 : et + (st - 2) * Bt;
58814
+ var At = this.pdf.internal.pageSize.width - this.margin[3] - this.margin[1], vt = st === 1 ? this.posY + this.margin[0] : this.margin[0], et = this.pdf.internal.pageSize.height - this.posY - this.margin[0] - this.margin[2], Et = this.pdf.internal.pageSize.height - this.margin[0] - this.margin[2], Ye = st === 1 ? 0 : et + (st - 2) * Et;
58811
58815
  if (this.ctx.clip_path.length !== 0) {
58812
58816
  var Yn = this.path;
58813
58817
  X = JSON.parse(JSON.stringify(this.ctx.clip_path)), this.path = x(X, this.posX + this.margin[3], -Ye + vt + this.ctx.prevPageLastElemOffset), V.call(this, "fill", !0), this.path = Yn;
58814
58818
  }
58815
58819
  var Mt = JSON.parse(JSON.stringify(C));
58816
58820
  Mt = x([Mt], this.posX + this.margin[3], -Ye + vt + this.ctx.prevPageLastElemOffset)[0];
58817
- var $s = (st > Ce || st < We) && y.call(this);
58818
- $s && (this.pdf.saveGraphicsState(), this.pdf.rect(this.margin[3], this.margin[0], At, Bt, null).clip().discardPath()), this.pdf.addImage(S, "JPEG", Mt.x, Mt.y, Mt.w, Mt.h, null, null, R), $s && this.pdf.restoreGraphicsState();
58821
+ var ei = (st > Ce || st < We) && y.call(this);
58822
+ ei && (this.pdf.saveGraphicsState(), this.pdf.rect(this.margin[3], this.margin[0], At, Et, null).clip().discardPath()), this.pdf.addImage(S, "JPEG", Mt.x, Mt.y, Mt.w, Mt.h, null, null, R), ei && this.pdf.restoreGraphicsState();
58819
58823
  }
58820
58824
  else
58821
58825
  this.pdf.addImage(S, "JPEG", C.x, C.y, C.w, C.h, null, null, R);
@@ -59024,10 +59028,10 @@ var of, K3, G3, iv = ["times"];
59024
59028
  }
59025
59029
  var et = x([JSON.parse(JSON.stringify(ct))], this.posX + this.margin[3], -At + L + this.ctx.prevPageLastElemOffset)[0];
59026
59030
  S.scale >= 0.01 && (De = this.pdf.internal.getFontSize(), this.pdf.setFontSize(De * S.scale), Me = this.lineWidth, this.lineWidth = Me * S.scale);
59027
- var Bt = this.autoPaging !== "text";
59028
- if (Bt || et.y + et.h <= fe) {
59029
- if (Bt || et.y >= L && et.x <= We) {
59030
- var Ye = Bt ? S.text : this.pdf.splitTextToSize(S.text, S.maxWidth || We - et.x)[0], Yn = x([JSON.parse(JSON.stringify(ze))], this.posX + this.margin[3], -At + L + this.ctx.prevPageLastElemOffset)[0], Mt = Bt && (C > R || C < w) && y.call(this);
59031
+ var Et = this.autoPaging !== "text";
59032
+ if (Et || et.y + et.h <= fe) {
59033
+ if (Et || et.y >= L && et.x <= We) {
59034
+ var Ye = Et ? S.text : this.pdf.splitTextToSize(S.text, S.maxWidth || We - et.x)[0], Yn = x([JSON.parse(JSON.stringify(ze))], this.posX + this.margin[3], -At + L + this.ctx.prevPageLastElemOffset)[0], Mt = Et && (C > R || C < w) && y.call(this);
59031
59035
  Mt && (this.pdf.saveGraphicsState(), this.pdf.rect(this.margin[3], this.margin[0], st, Ce, null).clip().discardPath()), this.pdf.text(Ye, Yn.x, Yn.y, { angle: S.angle, align: H, renderingMode: S.renderingMode }), Mt && this.pdf.restoreGraphicsState();
59032
59036
  }
59033
59037
  } else
@@ -60025,27 +60029,27 @@ function ov(t) {
60025
60029
  }
60026
60030
  function ie(S, H, G, ee, ne) {
60027
60031
  for (var ue, ve = ne[0], we = ne[240], Qe = function(w, C) {
60028
- var L, $, fe, Ce, We, st, At, vt, et, Bt, Ye = 0;
60032
+ var L, $, fe, Ce, We, st, At, vt, et, Et, Ye = 0;
60029
60033
  for (et = 0; et < 8; ++et) {
60030
60034
  L = w[Ye], $ = w[Ye + 1], fe = w[Ye + 2], Ce = w[Ye + 3], We = w[Ye + 4], st = w[Ye + 5], At = w[Ye + 6];
60031
- var Yn = L + (vt = w[Ye + 7]), Mt = L - vt, $s = $ + At, rn = $ - At, fn = fe + st, Ki = fe - st, Kt = Ce + We, Ml = Ce - We, bn = Yn + Kt, ei = Yn - Kt, ko = $s + fn, wn = $s - fn;
60035
+ var Yn = L + (vt = w[Ye + 7]), Mt = L - vt, ei = $ + At, rn = $ - At, fn = fe + st, Ki = fe - st, Kt = Ce + We, Ml = Ce - We, bn = Yn + Kt, ti = Yn - Kt, ko = ei + fn, wn = ei - fn;
60032
60036
  w[Ye] = bn + ko, w[Ye + 4] = bn - ko;
60033
- var wt = 0.707106781 * (wn + ei);
60034
- w[Ye + 2] = ei + wt, w[Ye + 6] = ei - wt;
60037
+ var wt = 0.707106781 * (wn + ti);
60038
+ w[Ye + 2] = ti + wt, w[Ye + 6] = ti - wt;
60035
60039
  var Gt = 0.382683433 * ((bn = Ml + Ki) - (wn = rn + Mt)), zl = 0.5411961 * bn + Gt, Ar = 1.306562965 * wn + Gt, Gi = 0.707106781 * (ko = Ki + rn), Wi = Mt + Gi, ft = Mt - Gi;
60036
60040
  w[Ye + 5] = ft + zl, w[Ye + 3] = ft - zl, w[Ye + 1] = Wi + Ar, w[Ye + 7] = Wi - Ar, Ye += 8;
60037
60041
  }
60038
60042
  for (Ye = 0, et = 0; et < 8; ++et) {
60039
60043
  L = w[Ye], $ = w[Ye + 8], fe = w[Ye + 16], Ce = w[Ye + 24], We = w[Ye + 32], st = w[Ye + 40], At = w[Ye + 48];
60040
- var ti = L + (vt = w[Ye + 56]), Yi = L - vt, Zr = $ + At, Jn = $ - At, Ln = fe + st, us = fe - st, cc = Ce + We, So = Ce - We, ni = ti + cc, ri = ti - cc, si = Zr + Ln, Ji = Zr - Ln;
60041
- w[Ye] = ni + si, w[Ye + 32] = ni - si;
60042
- var Ts = 0.707106781 * (Ji + ri);
60043
- w[Ye + 16] = ri + Ts, w[Ye + 48] = ri - Ts;
60044
- var Xi = 0.382683433 * ((ni = So + us) - (Ji = Jn + Yi)), Hl = 0.5411961 * ni + Xi, Ac = 1.306562965 * Ji + Xi, uc = 0.707106781 * (si = us + Jn), pc = Yi + uc, hc = Yi - uc;
60044
+ var ni = L + (vt = w[Ye + 56]), Yi = L - vt, Zr = $ + At, Jn = $ - At, Ln = fe + st, us = fe - st, cc = Ce + We, So = Ce - We, ri = ni + cc, si = ni - cc, ii = Zr + Ln, Ji = Zr - Ln;
60045
+ w[Ye] = ri + ii, w[Ye + 32] = ri - ii;
60046
+ var Ts = 0.707106781 * (Ji + si);
60047
+ w[Ye + 16] = si + Ts, w[Ye + 48] = si - Ts;
60048
+ var Xi = 0.382683433 * ((ri = So + us) - (Ji = Jn + Yi)), Hl = 0.5411961 * ri + Xi, Ac = 1.306562965 * Ji + Xi, uc = 0.707106781 * (ii = us + Jn), pc = Yi + uc, hc = Yi - uc;
60045
60049
  w[Ye + 40] = hc + Hl, w[Ye + 24] = hc - Hl, w[Ye + 8] = pc + Ac, w[Ye + 56] = pc - Ac, Ye++;
60046
60050
  }
60047
60051
  for (et = 0; et < 64; ++et)
60048
- Bt = w[et] * C[et], p[et] = Bt > 0 ? Bt + 0.5 | 0 : Bt - 0.5 | 0;
60052
+ Et = w[et] * C[et], p[et] = Et > 0 ? Et + 0.5 | 0 : Et - 0.5 | 0;
60049
60053
  return p;
60050
60054
  }(S, H), De = 0; De < 64; ++De)
60051
60055
  m[q[De]] = Qe[De];
@@ -60154,7 +60158,7 @@ function ov(t) {
60154
60158
  * Licensed under the MIT License.
60155
60159
  * http://opensource.org/licenses/mit-license
60156
60160
  */
60157
- function pi(t, e) {
60161
+ function hi(t, e) {
60158
60162
  if (this.pos = 0, this.buffer = t, this.datav = new DataView(t.buffer), this.is_with_alpha = !!e, this.bottom_up = !0, this.flag = String.fromCharCode(this.buffer[0]) + String.fromCharCode(this.buffer[1]), this.pos += 2, ["BM", "BA", "CI", "CP", "IC", "PT"].indexOf(this.flag) === -1)
60159
60163
  throw new Error("Invalid BMP File");
60160
60164
  this.parseHeader(), this.parseBGR();
@@ -60400,7 +60404,7 @@ function Z3(t) {
60400
60404
  K = 255 & (K = (K = K + ((A.hd << 24 >> 24) * (O << 24 >> 24) >>> 5)) + ((A.ud << 24 >> 24) * (re << 24 >> 24) >>> 5)), E[U + P] = (4278255360 & F) + (re << 16) + K;
60401
60405
  }
60402
60406
  }
60403
- function Bt(A, g, v, B, E) {
60407
+ function Et(A, g, v, B, E) {
60404
60408
  M[g] = function(U, P, F, O, K, re, me, ye, de) {
60405
60409
  for (O = me; O < ye; ++O)
60406
60410
  for (me = 0; me < de; ++me)
@@ -60435,7 +60439,7 @@ function Z3(t) {
60435
60439
  B[E++] = U, B[E++] = P;
60436
60440
  }
60437
60441
  }
60438
- function $s(A, g, v, B, E) {
60442
+ function ei(A, g, v, B, E) {
60439
60443
  for (v = g + v; g < v; ) {
60440
60444
  var U = (P = A[g++]) >> 16 & 248 | P >> 13 & 7, P = P >> 5 & 224 | P >> 3 & 31;
60441
60445
  B[E++] = U, B[E++] = P;
@@ -60466,7 +60470,7 @@ function Z3(t) {
60466
60470
  function bn() {
60467
60471
  this.y = [], this.f = [], this.ea = [], this.F = [], this.Tc = this.Ed = this.Cd = this.Fd = this.lb = this.Db = this.Ab = this.fa = this.J = this.W = this.N = this.O = 0;
60468
60472
  }
60469
- function ei() {
60473
+ function ti() {
60470
60474
  this.Rd = this.height = this.width = this.S = 0, this.f = {}, this.f.RGBA = new Ml(), this.f.kb = new bn(), this.sd = null;
60471
60475
  }
60472
60476
  function ko() {
@@ -60532,7 +60536,7 @@ function Z3(t) {
60532
60536
  function ft(A, g, v, B) {
60533
60537
  return ie(A, 8) != 47 ? 0 : (g[0] = ie(A, 14) + 1, v[0] = ie(A, 14) + 1, B[0] = ie(A, 1), ie(A, 3) != 0 ? 0 : !A.h);
60534
60538
  }
60535
- function ti(A, g) {
60539
+ function ni(A, g) {
60536
60540
  if (4 > A)
60537
60541
  return A + 1;
60538
60542
  var v = A - 2 >> 1;
@@ -60668,7 +60672,7 @@ function Z3(t) {
60668
60672
  }
60669
60673
  return 1;
60670
60674
  }
60671
- function ni(A, g, v, B, E, U) {
60675
+ function ri(A, g, v, B, E, U) {
60672
60676
  if (A.Z != 0) {
60673
60677
  var P = A.qd, F = A.rd;
60674
60678
  for (e(Pa[A.Z] != null); g < v; ++g)
@@ -60676,15 +60680,15 @@ function Z3(t) {
60676
60680
  A.qd = P, A.rd = F;
60677
60681
  }
60678
60682
  }
60679
- function ri(A, g) {
60683
+ function si(A, g) {
60680
60684
  var v = A.l.ma, B = v.Z == 0 || v.Z == 1 ? A.l.j : A.C;
60681
60685
  if (B = A.C < B ? B : A.C, e(g <= A.l.o), g > B) {
60682
60686
  var E = A.l.width, U = v.ca, P = v.tb + E * B, F = A.V, O = A.Ba + A.c * B, K = A.gc;
60683
- e(A.ab == 1), e(K[0].hc == 3), zh(K[0], B, g, F, O, U, P), ni(v, B, g, U, P, E);
60687
+ e(A.ab == 1), e(K[0].hc == 3), zh(K[0], B, g, F, O, U, P), ri(v, B, g, U, P, E);
60684
60688
  }
60685
60689
  A.C = A.Ma = g;
60686
60690
  }
60687
- function si(A, g, v, B, E, U, P) {
60691
+ function ii(A, g, v, B, E, U, P) {
60688
60692
  var F = A.$ / B, O = A.$ % B, K = A.m, re = A.s, me = v + A.$, ye = me;
60689
60693
  E = v + B * E;
60690
60694
  var de = v + B * U, Fe = 280 + re.ua, Se = A.Pb ? F : 16777216, se = 0 < re.ua ? re.Wa : null, oe = re.wc, Pe = me < de ? Ln(re, O, F) : null;
@@ -60720,7 +60724,7 @@ function Z3(t) {
60720
60724
  for (; ye < me; )
60721
60725
  je = g[ye++], se.X[(506832829 * je & 4294967295) >>> se.Mb] = je;
60722
60726
  } else if (280 > je) {
60723
- if (je = ti(je - 256, K), tt = Zr(Pe.G[4], Pe.H[4], K), ne(K), tt = Yi(B, tt = ti(tt, K)), K.h)
60727
+ if (je = ni(je - 256, K), tt = Zr(Pe.G[4], Pe.H[4], K), ne(K), tt = Yi(B, tt = ni(tt, K)), K.h)
60724
60728
  break;
60725
60729
  if (me - v < tt || E - me < je)
60726
60730
  break e;
@@ -60758,7 +60762,7 @@ function Z3(t) {
60758
60762
  }
60759
60763
  function Ts() {
60760
60764
  var A = new h1();
60761
- return A == null ? null : (A.a = 0, A.xb = Vw, Ki("Predictor", "VP8LPredictors"), Ki("Predictor", "VP8LPredictors_C"), Ki("PredictorAdd", "VP8LPredictorsAdd"), Ki("PredictorAdd", "VP8LPredictorsAdd_C"), Mh = At, Wl = et, ts = Ye, Or = Yn, Sa = Mt, Uo = $s, Po = rn, M.VP8LMapColor32b = Tc, M.VP8LMapColor8b = Hh, A);
60765
+ return A == null ? null : (A.a = 0, A.xb = Vw, Ki("Predictor", "VP8LPredictors"), Ki("Predictor", "VP8LPredictors_C"), Ki("PredictorAdd", "VP8LPredictorsAdd"), Ki("PredictorAdd", "VP8LPredictorsAdd_C"), Mh = At, Wl = et, ts = Ye, Or = Yn, Sa = Mt, Uo = ei, Po = rn, M.VP8LMapColor32b = Tc, M.VP8LMapColor8b = Hh, A);
60762
60766
  }
60763
60767
  function Xi(A, g, v, B, E) {
60764
60768
  var U = 1, P = [A], F = [g], O = B.m, K = B.s, re = null, me = 0;
@@ -60807,7 +60811,7 @@ function Z3(t) {
60807
60811
  var sn;
60808
60812
  if (sn = U)
60809
60813
  t: {
60810
- var tn, Et, Mn, ns = B, zn = P, rs = F, Jt = me, gs = v, fs = ns.m, nr = ns.s, pr = [null], Lr = 1, Os = 0, to = rk[Jt];
60814
+ var tn, kt, Mn, ns = B, zn = P, rs = F, Jt = me, gs = v, fs = ns.m, nr = ns.s, pr = [null], Lr = 1, Os = 0, to = rk[Jt];
60811
60815
  n:
60812
60816
  for (; ; ) {
60813
60817
  if (gs && ie(fs, 1)) {
@@ -60821,9 +60825,9 @@ function Z3(t) {
60821
60825
  }
60822
60826
  if (fs.h)
60823
60827
  break n;
60824
- for (Et = 0; 5 > Et; ++Et) {
60825
- var xn = Hw[Et];
60826
- !Et && 0 < Jt && (xn += 1 << Jt), Os < xn && (Os = xn);
60828
+ for (kt = 0; 5 > kt; ++kt) {
60829
+ var xn = Hw[kt];
60830
+ !kt && 0 < Jt && (xn += 1 << Jt), Os < xn && (Os = xn);
60827
60831
  }
60828
60832
  var C1 = o(Lr * to, Q), e5 = Lr, t5 = o(e5, Z);
60829
60833
  if (t5 == null)
@@ -60837,9 +60841,9 @@ function Z3(t) {
60837
60841
  }
60838
60842
  var ng = C1;
60839
60843
  for (tn = Mn = 0; tn < Lr; ++tn) {
60840
- var di = tg[tn], Rc = di.G, Oc = di.H, n5 = 0, rg = 1, r5 = 0;
60841
- for (Et = 0; 5 > Et; ++Et) {
60842
- xn = Hw[Et], Rc[Et] = ng, Oc[Et] = Mn, !Et && 0 < Jt && (xn += 1 << Jt);
60844
+ var ci = tg[tn], Rc = ci.G, Oc = ci.H, n5 = 0, rg = 1, r5 = 0;
60845
+ for (kt = 0; 5 > kt; ++kt) {
60846
+ xn = Hw[kt], Rc[kt] = ng, Oc[kt] = Mn, !kt && 0 < Jt && (xn += 1 << Jt);
60843
60847
  s: {
60844
60848
  var sg, B1 = xn, ig = ns, Ru = Du, Ck = ng, Bk = Mn, E1 = 0, Fa = ig.m, Ek = ie(Fa, 1);
60845
60849
  if (s(Ru, 0, 0, B1), Ek) {
@@ -60888,15 +60892,15 @@ function Z3(t) {
60888
60892
  }
60889
60893
  if (ag == 0)
60890
60894
  break n;
60891
- if (rg && ek[Et] == 1 && (rg = ng[Mn].g == 0), n5 += ng[Mn].g, Mn += ag, 3 >= Et) {
60895
+ if (rg && ek[kt] == 1 && (rg = ng[Mn].g == 0), n5 += ng[Mn].g, Mn += ag, 3 >= kt) {
60892
60896
  var Nu, I1 = Du[0];
60893
60897
  for (Nu = 1; Nu < xn; ++Nu)
60894
60898
  Du[Nu] > I1 && (I1 = Du[Nu]);
60895
60899
  r5 += I1;
60896
60900
  }
60897
60901
  }
60898
- if (di.nd = rg, di.Qb = 0, rg && (di.qb = (Rc[3][Oc[3] + 0].value << 24 | Rc[1][Oc[1] + 0].value << 16 | Rc[2][Oc[2] + 0].value) >>> 0, n5 == 0 && 256 > Rc[0][Oc[0] + 0].value && (di.Qb = 1, di.qb += Rc[0][Oc[0] + 0].value << 8)), di.jc = !di.Qb && 6 > r5, di.jc) {
60899
- var dg, Oo = di;
60902
+ if (ci.nd = rg, ci.Qb = 0, rg && (ci.qb = (Rc[3][Oc[3] + 0].value << 24 | Rc[1][Oc[1] + 0].value << 16 | Rc[2][Oc[2] + 0].value) >>> 0, n5 == 0 && 256 > Rc[0][Oc[0] + 0].value && (ci.Qb = 1, ci.qb += Rc[0][Oc[0] + 0].value << 8)), ci.jc = !ci.Qb && 6 > r5, ci.jc) {
60903
+ var dg, Oo = ci;
60900
60904
  for (dg = 0; dg < ur; ++dg) {
60901
60905
  var Ra = dg, Oa = Oo.pd[Ra], cg = Oo.G[0][Oo.H[0] + Ra];
60902
60906
  256 <= cg.value ? (Oa.g = cg.g + 256, Oa.value = cg.value) : (Oa.g = 0, Oa.value = 0, Ra >>= Jn(cg, 8, Oa), Ra >>= Jn(Oo.G[1][Oo.H[1] + Ra], 16, Oa), Ra >>= Jn(Oo.G[2][Oo.H[2] + Ra], 0, Oa), Jn(Oo.G[3][Oo.H[3] + Ra], 24, Oa));
@@ -60928,7 +60932,7 @@ function Z3(t) {
60928
60932
  B.a = 1, U = 0;
60929
60933
  break e;
60930
60934
  }
60931
- U = (U = si(B, re, 0, P, F, F, null)) && !O.h;
60935
+ U = (U = ii(B, re, 0, P, F, F, null)) && !O.h;
60932
60936
  break e;
60933
60937
  }
60934
60938
  return U ? (E != null ? E[0] = re : (e(re == null), e(v)), B.$ = 0, v || Ji(K)) : Ji(K), U;
@@ -60941,7 +60945,7 @@ function Z3(t) {
60941
60945
  var v = A.C, B = g - v, E = A.V, U = A.Ba + A.c * v;
60942
60946
  for (e(g <= A.l.o); 0 < B; ) {
60943
60947
  var P = 16 < B ? 16 : B, F = A.l.ma, O = A.l.width, K = O * P, re = F.ca, me = F.tb + O * v, ye = A.Ta, de = A.Ua;
60944
- us(A, P, E, U), Tn(ye, de, re, me, K), ni(F, v, v + P, re, me, O), B -= P, E += P * A.c, v += P;
60948
+ us(A, P, E, U), Tn(ye, de, re, me, K), ri(F, v, v + P, re, me, O), B -= P, E += P * A.c, v += P;
60945
60949
  }
60946
60950
  e(v == g), A.C = A.Ma = g;
60947
60951
  }
@@ -61186,7 +61190,7 @@ function Z3(t) {
61186
61190
  Fc[255 + v] = 0 > v ? 0 : 255 < v ? 255 : v;
61187
61191
  Vh = 1;
61188
61192
  }
61189
- Uc = e1, jo = Z0, Iu = Sh, Nr = $0, Ps = Ih, In = kh, Pc = fu, qh = Kl, Tu = p1, Yl = mu, Jl = u1, Ia = _c, Xl = yu, jc = Nh, Zl = Oh, Ta = $i, Uu = To, js = A1, li[0] = Zi, li[1] = t1, li[2] = i1, li[3] = o1, li[4] = Ph, li[5] = bc, li[6] = jh, li[7] = pu, li[8] = l1, li[9] = a1, Ua[0] = Th, Ua[1] = r1, Ua[2] = Io, Ua[3] = yc, Ua[4] = xr, Ua[5] = s1, Ua[6] = Uh, Do[0] = Ca, Do[1] = n1, Do[2] = d1, Do[3] = hu, Do[4] = Vl, Do[5] = c1, Do[6] = gu, v = 1;
61193
+ Uc = e1, jo = Z0, Iu = Sh, Nr = $0, Ps = Ih, In = kh, Pc = fu, qh = Kl, Tu = p1, Yl = mu, Jl = u1, Ia = _c, Xl = yu, jc = Nh, Zl = Oh, Ta = $i, Uu = To, js = A1, di[0] = Zi, di[1] = t1, di[2] = i1, di[3] = o1, di[4] = Ph, di[5] = bc, di[6] = jh, di[7] = pu, di[8] = l1, di[9] = a1, Ua[0] = Th, Ua[1] = r1, Ua[2] = Io, Ua[3] = yc, Ua[4] = xr, Ua[5] = s1, Ua[6] = Uh, Do[0] = Ca, Do[1] = n1, Do[2] = d1, Do[3] = hu, Do[4] = Vl, Do[5] = c1, Do[6] = gu, v = 1;
61190
61194
  } else
61191
61195
  v = 0;
61192
61196
  }
@@ -61217,7 +61221,7 @@ function Z3(t) {
61217
61221
  if (Pe = se, Oe = (oe = de).rb[oe.sb - 1], tt = oe.rb[oe.sb + oe.ja], Se = oe.ya[oe.aa + oe.ja], Ke = oe.kc ? Se.Ad : 0)
61218
61222
  Oe.la = tt.la = 0, Se.Za || (Oe.Na = tt.Na = 0), Se.Hc = 0, Se.Gc = 0, Se.ia = 0;
61219
61223
  else {
61220
- var tn, Et;
61224
+ var tn, kt;
61221
61225
  if (Oe = tt, tt = Pe, Ke = oe.Pa.Xc, ht = oe.ya[oe.aa + oe.ja], Ge = oe.pb[ht.$b], je = ht.ad, qt = 0, Yt = oe.rb[oe.sb - 1], Dt = Lt = 0, s(je, qt, 0, 384), ht.Za)
61222
61226
  var Mn = 0, ns = Ke[3];
61223
61227
  else {
@@ -61235,17 +61239,17 @@ function Z3(t) {
61235
61239
  var Jt = 15 & Oe.la, gs = 15 & Yt.la;
61236
61240
  for (sn = 0; 4 > sn; ++sn) {
61237
61241
  var fs = 1 & gs;
61238
- for (rs = Et = 0; 4 > rs; ++rs)
61239
- Jt = Jt >> 1 | (fs = (zn = ju(tt, ns, zn = fs + (1 & Jt), Ge.Sc, Mn, je, qt)) > Mn) << 7, Et = Et << 2 | (3 < zn ? 3 : 1 < zn ? 2 : je[qt + 0] != 0), qt += 16;
61240
- Jt >>= 4, gs = gs >> 1 | fs << 7, Lt = (Lt << 8 | Et) >>> 0;
61242
+ for (rs = kt = 0; 4 > rs; ++rs)
61243
+ Jt = Jt >> 1 | (fs = (zn = ju(tt, ns, zn = fs + (1 & Jt), Ge.Sc, Mn, je, qt)) > Mn) << 7, kt = kt << 2 | (3 < zn ? 3 : 1 < zn ? 2 : je[qt + 0] != 0), qt += 16;
61244
+ Jt >>= 4, gs = gs >> 1 | fs << 7, Lt = (Lt << 8 | kt) >>> 0;
61241
61245
  }
61242
61246
  for (ns = Jt, Mn = gs >> 4, tn = 0; 4 > tn; tn += 2) {
61243
- for (Et = 0, Jt = Oe.la >> 4 + tn, gs = Yt.la >> 4 + tn, sn = 0; 2 > sn; ++sn) {
61247
+ for (kt = 0, Jt = Oe.la >> 4 + tn, gs = Yt.la >> 4 + tn, sn = 0; 2 > sn; ++sn) {
61244
61248
  for (fs = 1 & gs, rs = 0; 2 > rs; ++rs)
61245
- zn = fs + (1 & Jt), Jt = Jt >> 1 | (fs = 0 < (zn = ju(tt, Ke[2], zn, Ge.Qc, 0, je, qt))) << 3, Et = Et << 2 | (3 < zn ? 3 : 1 < zn ? 2 : je[qt + 0] != 0), qt += 16;
61249
+ zn = fs + (1 & Jt), Jt = Jt >> 1 | (fs = 0 < (zn = ju(tt, Ke[2], zn, Ge.Qc, 0, je, qt))) << 3, kt = kt << 2 | (3 < zn ? 3 : 1 < zn ? 2 : je[qt + 0] != 0), qt += 16;
61246
61250
  Jt >>= 2, gs = gs >> 1 | fs << 5;
61247
61251
  }
61248
- Dt |= Et << 4 * tn, ns |= Jt << 4 << tn, Mn |= (240 & gs) << tn;
61252
+ Dt |= kt << 4 * tn, ns |= Jt << 4 << tn, Mn |= (240 & gs) << tn;
61249
61253
  }
61250
61254
  Oe.la = ns, Yt.la = Mn, ht.Hc = Lt, ht.Gc = Dt, ht.ia = 43690 & Dt ? 0 : Ge.ia, Ke = !(Lt | Dt);
61251
61255
  }
@@ -61254,9 +61258,9 @@ function Z3(t) {
61254
61258
  }
61255
61259
  if (cu(de), oe = Fe, Pe = 1, Se = (se = de).D, Oe = 0 < se.L && se.M >= se.zb && se.M <= se.Va, se.Aa == 0)
61256
61260
  e: {
61257
- if (Se.M = se.M, Se.uc = Oe, Cu(se, Se), Pe = 1, Se = (Et = se.D).Nb, Oe = (Dt = eg[se.L]) * se.R, tt = Dt / 2 * se.B, sn = 16 * Se * se.R, rs = 8 * Se * se.B, Ke = se.sa, ht = se.ta - Oe + sn, Ge = se.qa, je = se.ra - tt + rs, qt = se.Ha, Yt = se.Ia - tt + rs, gs = (Jt = Et.M) == 0, Lt = Jt >= se.Va - 1, se.Aa == 2 && Cu(se, Et), Et.uc)
61258
- for (fs = (zn = se).D.M, e(zn.D.uc), Et = zn.yb; Et < zn.Hb; ++Et) {
61259
- Mn = Et, ns = fs;
61261
+ if (Se.M = se.M, Se.uc = Oe, Cu(se, Se), Pe = 1, Se = (kt = se.D).Nb, Oe = (Dt = eg[se.L]) * se.R, tt = Dt / 2 * se.B, sn = 16 * Se * se.R, rs = 8 * Se * se.B, Ke = se.sa, ht = se.ta - Oe + sn, Ge = se.qa, je = se.ra - tt + rs, qt = se.Ha, Yt = se.Ia - tt + rs, gs = (Jt = kt.M) == 0, Lt = Jt >= se.Va - 1, se.Aa == 2 && Cu(se, kt), kt.uc)
61262
+ for (fs = (zn = se).D.M, e(zn.D.uc), kt = zn.yb; kt < zn.Hb; ++kt) {
61263
+ Mn = kt, ns = fs;
61260
61264
  var nr = (pr = (xn = zn).D).Nb;
61261
61265
  tn = xn.R;
61262
61266
  var pr = pr.wa[pr.Y + Mn], Lr = xn.sa, Os = xn.ta + 16 * nr * tn + 16 * Mn, to = pr.dd, rr = pr.tc;
@@ -61269,11 +61273,11 @@ function Z3(t) {
61269
61273
  }
61270
61274
  }
61271
61275
  if (se.ia && alert("todo:DitherRow"), oe.put != null) {
61272
- if (Et = 16 * Jt, Jt = 16 * (Jt + 1), gs ? (oe.y = se.sa, oe.O = se.ta + sn, oe.f = se.qa, oe.N = se.ra + rs, oe.ea = se.Ha, oe.W = se.Ia + rs) : (Et -= Dt, oe.y = Ke, oe.O = ht, oe.f = Ge, oe.N = je, oe.ea = qt, oe.W = Yt), Lt || (Jt -= Dt), Jt > oe.o && (Jt = oe.o), oe.F = null, oe.J = null, se.Fa != null && 0 < se.Fa.length && Et < Jt && (oe.J = _u(se, oe, Et, Jt - Et), oe.F = se.mb, oe.F == null && oe.F.length == 0)) {
61276
+ if (kt = 16 * Jt, Jt = 16 * (Jt + 1), gs ? (oe.y = se.sa, oe.O = se.ta + sn, oe.f = se.qa, oe.N = se.ra + rs, oe.ea = se.Ha, oe.W = se.Ia + rs) : (kt -= Dt, oe.y = Ke, oe.O = ht, oe.f = Ge, oe.N = je, oe.ea = qt, oe.W = Yt), Lt || (Jt -= Dt), Jt > oe.o && (Jt = oe.o), oe.F = null, oe.J = null, se.Fa != null && 0 < se.Fa.length && kt < Jt && (oe.J = _u(se, oe, kt, Jt - kt), oe.F = se.mb, oe.F == null && oe.F.length == 0)) {
61273
61277
  Pe = Sn(se, 3, "Could not decode alpha data.");
61274
61278
  break e;
61275
61279
  }
61276
- Et < oe.j && (Dt = oe.j - Et, Et = oe.j, e(!(1 & Dt)), oe.O += se.R * Dt, oe.N += se.B * (Dt >> 1), oe.W += se.B * (Dt >> 1), oe.F != null && (oe.J += oe.width * Dt)), Et < Jt && (oe.O += oe.v, oe.N += oe.v >> 1, oe.W += oe.v >> 1, oe.F != null && (oe.J += oe.v), oe.ka = Et - oe.j, oe.U = oe.va - oe.v, oe.T = Jt - Et, Pe = oe.put(oe));
61280
+ kt < oe.j && (Dt = oe.j - kt, kt = oe.j, e(!(1 & Dt)), oe.O += se.R * Dt, oe.N += se.B * (Dt >> 1), oe.W += se.B * (Dt >> 1), oe.F != null && (oe.J += oe.width * Dt)), kt < Jt && (oe.O += oe.v, oe.N += oe.v >> 1, oe.W += oe.v >> 1, oe.F != null && (oe.J += oe.v), oe.ka = kt - oe.j, oe.U = oe.va - oe.v, oe.T = Jt - kt, Pe = oe.put(oe));
61277
61281
  }
61278
61282
  Se + 1 != se.Ic || Lt || (r(se.sa, se.ta - Oe, Ke, ht + 16 * se.R, Oe), r(se.qa, se.ra - tt, Ge, je + 8 * se.B, tt), r(se.Ha, se.Ia - tt, qt, Yt + 8 * se.B, tt));
61279
61283
  }
@@ -61285,11 +61289,11 @@ function Z3(t) {
61285
61289
  }
61286
61290
  return v ? (A.cb = 0, v) : 0;
61287
61291
  }
61288
- function ii(A, g, v, B, E) {
61292
+ function oi(A, g, v, B, E) {
61289
61293
  E = A[g + v + 32 * B] + (E >> 3), A[g + v + 32 * B] = -256 & E ? 0 > E ? 0 : 255 : E;
61290
61294
  }
61291
61295
  function mc(A, g, v, B, E, U) {
61292
- ii(A, g, 0, v, B + E), ii(A, g, 1, v, B + U), ii(A, g, 2, v, B - U), ii(A, g, 3, v, B - E);
61296
+ oi(A, g, 0, v, B + E), oi(A, g, 1, v, B + U), oi(A, g, 2, v, B - U), oi(A, g, 3, v, B - E);
61293
61297
  }
61294
61298
  function $r(A) {
61295
61299
  return (20091 * A >> 16) + A;
@@ -61301,7 +61305,7 @@ function Z3(t) {
61301
61305
  P[U + 0] = F + re, P[U + 1] = O + K, P[U + 2] = O - K, P[U + 3] = F - re, U += 4, g++;
61302
61306
  }
61303
61307
  for (E = U = 0; 4 > E; ++E)
61304
- F = (A = P[U + 0] + 4) + P[U + 8], O = A - P[U + 8], K = (35468 * P[U + 4] >> 16) - $r(P[U + 12]), ii(v, B, 0, 0, F + (re = $r(P[U + 4]) + (35468 * P[U + 12] >> 16))), ii(v, B, 1, 0, O + K), ii(v, B, 2, 0, O - K), ii(v, B, 3, 0, F - re), U++, B += 32;
61308
+ F = (A = P[U + 0] + 4) + P[U + 8], O = A - P[U + 8], K = (35468 * P[U + 4] >> 16) - $r(P[U + 12]), oi(v, B, 0, 0, F + (re = $r(P[U + 4]) + (35468 * P[U + 12] >> 16))), oi(v, B, 1, 0, O + K), oi(v, B, 2, 0, O - K), oi(v, B, 3, 0, F - re), U++, B += 32;
61305
61309
  }
61306
61310
  function kh(A, g, v, B) {
61307
61311
  var E = A[g + 0] + 4, U = 35468 * A[g + 4] >> 16, P = $r(A[g + 4]), F = 35468 * A[g + 1] >> 16;
@@ -61317,7 +61321,7 @@ function Z3(t) {
61317
61321
  var E;
61318
61322
  for (A = A[g + 0] + 4, E = 0; 4 > E; ++E)
61319
61323
  for (g = 0; 4 > g; ++g)
61320
- ii(v, B, g, E, A);
61324
+ oi(v, B, g, E, A);
61321
61325
  }
61322
61326
  function Ih(A, g, v, B) {
61323
61327
  A[g + 0] && Nr(A, g + 0, v, B), A[g + 16] && Nr(A, g + 16, v, B + 4), A[g + 32] && Nr(A, g + 32, v, B + 128), A[g + 48] && Nr(A, g + 48, v, B + 128 + 4);
@@ -61511,7 +61515,7 @@ function Z3(t) {
61511
61515
  g += B;
61512
61516
  }
61513
61517
  }
61514
- function oi(A, g, v, B, E, U, P, F) {
61518
+ function ai(A, g, v, B, E, U, P, F) {
61515
61519
  for (U = 2 * U + 1; 0 < E--; ) {
61516
61520
  if (Rh(A, g, v, U, P))
61517
61521
  if (Fh(A, g, v, F))
@@ -61532,12 +61536,12 @@ function Z3(t) {
61532
61536
  function u1(A, g, v, B, E, U) {
61533
61537
  var P;
61534
61538
  for (P = 3; 0 < P; --P)
61535
- oi(A, g += 4 * v, v, 1, 16, B, E, U);
61539
+ ai(A, g += 4 * v, v, 1, 16, B, E, U);
61536
61540
  }
61537
61541
  function _c(A, g, v, B, E, U) {
61538
61542
  var P;
61539
61543
  for (P = 3; 0 < P; --P)
61540
- oi(A, g += 4, 1, v, 16, B, E, U);
61544
+ ai(A, g += 4, 1, v, 16, B, E, U);
61541
61545
  }
61542
61546
  function p1(A, g, v, B, E, U, P, F) {
61543
61547
  Ba(A, g, E, 1, 8, U, P, F), Ba(v, B, E, 1, 8, U, P, F);
@@ -61546,13 +61550,13 @@ function Z3(t) {
61546
61550
  Ba(A, g, 1, E, 8, U, P, F), Ba(v, B, 1, E, 8, U, P, F);
61547
61551
  }
61548
61552
  function yu(A, g, v, B, E, U, P, F) {
61549
- oi(A, g + 4 * E, E, 1, 8, U, P, F), oi(v, B + 4 * E, E, 1, 8, U, P, F);
61553
+ ai(A, g + 4 * E, E, 1, 8, U, P, F), ai(v, B + 4 * E, E, 1, 8, U, P, F);
61550
61554
  }
61551
61555
  function Nh(A, g, v, B, E, U, P, F) {
61552
- oi(A, g + 4, 1, E, 8, U, P, F), oi(v, B + 4, 1, E, 8, U, P, F);
61556
+ ai(A, g + 4, 1, E, 8, U, P, F), ai(v, B + 4, 1, E, 8, U, P, F);
61553
61557
  }
61554
61558
  function xc() {
61555
- this.ba = new ei(), this.ec = [], this.cc = [], this.Mc = [], this.Dc = this.Nc = this.dc = this.fc = 0, this.Oa = new wn(), this.memory = 0, this.Ib = "OutputFunc", this.Jb = "OutputAlphaFunc", this.Nd = "OutputRowFunc";
61559
+ this.ba = new ti(), this.ec = [], this.cc = [], this.Mc = [], this.Dc = this.Nc = this.dc = this.fc = 0, this.Oa = new wn(), this.memory = 0, this.Ib = "OutputFunc", this.Jb = "OutputAlphaFunc", this.Nd = "OutputRowFunc";
61556
61560
  }
61557
61561
  function vu() {
61558
61562
  this.data = [], this.offset = this.kd = this.ha = this.w = 0, this.na = [], this.xa = this.gb = this.Ja = this.Sa = this.P = 0;
@@ -61564,7 +61568,7 @@ function Z3(t) {
61564
61568
  this.ua = 0, this.Wa = new X(), this.vb = new X(), this.md = this.xc = this.wc = 0, this.vc = [], this.Wb = 0, this.Ya = new Z(), this.yc = new Q();
61565
61569
  }
61566
61570
  function h1() {
61567
- this.xb = this.a = 0, this.l = new fc(), this.ca = new ei(), this.V = [], this.Ba = 0, this.Ta = [], this.Ua = 0, this.m = new S(), this.Pb = 0, this.wd = new S(), this.Ma = this.$ = this.C = this.i = this.c = this.xd = 0, this.s = new Lh(), this.ab = 0, this.gc = o(4, bu), this.Oc = 0;
61571
+ this.xb = this.a = 0, this.l = new fc(), this.ca = new ti(), this.V = [], this.Ba = 0, this.Ta = [], this.Ua = 0, this.m = new S(), this.Pb = 0, this.wd = new S(), this.Ma = this.$ = this.C = this.i = this.c = this.xd = 0, this.s = new Lh(), this.ab = 0, this.gc = o(4, bu), this.Oc = 0;
61568
61572
  }
61569
61573
  function Cc() {
61570
61574
  this.Lc = this.Z = this.$a = this.i = this.c = 0, this.l = new fc(), this.ic = 0, this.ca = [], this.tb = 0, this.qd = null, this.rd = 0;
@@ -61649,32 +61653,32 @@ function Z3(t) {
61649
61653
  for (; ; ) {
61650
61654
  for (; !re.h && se < Pe; ) {
61651
61655
  if (K & Oe || (je = Ln(me, K, O)), e(je != null), ne(re), 256 > (Se = Zr(je.G[0], je.H[0], re)))
61652
- F[ye + se] = Se, ++se, ++K >= de && (K = 0, ++O <= g && !(O % 16) && ri(P, O));
61656
+ F[ye + se] = Se, ++se, ++K >= de && (K = 0, ++O <= g && !(O % 16) && si(P, O));
61653
61657
  else {
61654
61658
  if (!(280 > Se)) {
61655
61659
  Fe = 0;
61656
61660
  break t;
61657
61661
  }
61658
- Se = ti(Se - 256, re);
61662
+ Se = ni(Se - 256, re);
61659
61663
  var tt, Ke = Zr(je.G[4], je.H[4], re);
61660
- if (ne(re), !(se >= (Ke = Yi(de, Ke = ti(Ke, re))) && oe - se >= Se)) {
61664
+ if (ne(re), !(se >= (Ke = Yi(de, Ke = ni(Ke, re))) && oe - se >= Se)) {
61661
61665
  Fe = 0;
61662
61666
  break t;
61663
61667
  }
61664
61668
  for (tt = 0; tt < Se; ++tt)
61665
61669
  F[ye + se + tt] = F[ye + se + tt - Ke];
61666
61670
  for (se += Se, K += Se; K >= de; )
61667
- K -= de, ++O <= g && !(O % 16) && ri(P, O);
61671
+ K -= de, ++O <= g && !(O % 16) && si(P, O);
61668
61672
  se < Pe && K & Oe && (je = Ln(me, K, O));
61669
61673
  }
61670
61674
  e(re.h == G(re));
61671
61675
  }
61672
- ri(P, O > g ? g : O);
61676
+ si(P, O > g ? g : O);
61673
61677
  break t;
61674
61678
  }
61675
61679
  !Fe || re.h && se < oe ? (Fe = 0, P.a = re.h ? 5 : 3) : P.$ = se, g = Fe;
61676
61680
  } else
61677
- g = si(P, P.V, P.Ba, P.c, P.i, g, Ac);
61681
+ g = ii(P, P.V, P.Ba, P.c, P.i, g, Ac);
61678
61682
  if (!g) {
61679
61683
  B = 0;
61680
61684
  break e;
@@ -61775,7 +61779,7 @@ function Z3(t) {
61775
61779
  function tr(A, g, v, B, E) {
61776
61780
  yn(A, g, v, B, E), B[E + 3] = 255;
61777
61781
  }
61778
- function ai(A, g, v, B, E) {
61782
+ function li(A, g, v, B, E) {
61779
61783
  Nt(A, g, v, B, E), B[E + 3] = 255;
61780
61784
  }
61781
61785
  function ps(A, g) {
@@ -61823,7 +61827,7 @@ function Z3(t) {
61823
61827
  for (0 < E && (B >= A.za - 1 ? s(oe, Pe, de[Fe].y[15], 4) : r(oe, Pe, de[Fe + 1].y, 0, 4)), v = 0; 4 > v; v++)
61824
61828
  oe[Pe + 128 + v] = oe[Pe + 256 + v] = oe[Pe + 384 + v] = oe[Pe + 0 + v];
61825
61829
  for (v = 0; 16 > v; ++v, se <<= 2)
61826
- oe = P, Pe = F + Zw[v], li[ye.Ob[v]](oe, Pe), xu(se, Se, 16 * +v, oe, Pe);
61830
+ oe = P, Pe = F + Zw[v], di[ye.Ob[v]](oe, Pe), xu(se, Se, 16 * +v, oe, Pe);
61827
61831
  } else if (oe = Qh(B, E, ye.Ob[0]), Ua[oe](P, F), se != 0)
61828
61832
  for (v = 0; 16 > v; ++v, se <<= 2)
61829
61833
  xu(se, Se, 16 * +v, P, F + Zw[v]);
@@ -62081,24 +62085,24 @@ function Z3(t) {
62081
62085
  var g1 = M.PredictorAdd0;
62082
62086
  M.PredictorAdd1 = st, C("Predictor2", "PredictorAdd2"), C("Predictor3", "PredictorAdd3"), C("Predictor4", "PredictorAdd4"), C("Predictor5", "PredictorAdd5"), C("Predictor6", "PredictorAdd6"), C("Predictor7", "PredictorAdd7"), C("Predictor8", "PredictorAdd8"), C("Predictor9", "PredictorAdd9"), C("Predictor10", "PredictorAdd10"), C("Predictor11", "PredictorAdd11"), C("Predictor12", "PredictorAdd12"), C("Predictor13", "PredictorAdd13");
62083
62087
  var Su = M.PredictorAdd2;
62084
- Bt("ColorIndexInverseTransform", "MapARGB", "32b", function(A) {
62088
+ Et("ColorIndexInverseTransform", "MapARGB", "32b", function(A) {
62085
62089
  return A >> 8 & 255;
62086
62090
  }, function(A) {
62087
62091
  return A;
62088
- }), Bt("VP8LColorIndexInverseTransformAlpha", "MapAlpha", "8b", function(A) {
62092
+ }), Et("VP8LColorIndexInverseTransformAlpha", "MapAlpha", "8b", function(A) {
62089
62093
  return A;
62090
62094
  }, function(A) {
62091
62095
  return A >> 8 & 255;
62092
62096
  });
62093
62097
  var Mh, Us = M.ColorIndexInverseTransform, Tc = M.MapARGB, zh = M.VP8LColorIndexInverseTransformAlpha, Hh = M.MapAlpha, ka = M.VP8LPredictorsAdd = [];
62094
62098
  ka.length = 16, (M.VP8LPredictors = []).length = 16, (M.VP8LPredictorsAdd_C = []).length = 16, (M.VP8LPredictors_C = []).length = 16;
62095
- var Wl, ts, Or, Sa, Uo, Po, Uc, jo, In, Iu, Nr, Ps, Pc, qh, Tu, Yl, Jl, Ia, Xl, jc, Zl, Ta, Uu, js, Fs, cn, An, Tn, Xn = i(511), Fo = i(2041), Pu = i(225), Fc = i(767), Vh = 0, f1 = Fo, Kh = Pu, hs = Fc, Ds = Xn, Gh = 0, Wh = 1, Mw = 2, Yh = 3, Jh = 4, m1 = 5, zw = 6, y1 = 7, v1 = 8, Xh = 9, b1 = 10, ZE = [2, 3, 7], $E = [3, 3, 11], Hw = [280, 256, 256, 256, 40], ek = [0, 1, 1, 1, 0], tk = [17, 18, 0, 1, 2, 3, 4, 5, 16, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], nk = [24, 7, 23, 25, 40, 6, 39, 41, 22, 26, 38, 42, 56, 5, 55, 57, 21, 27, 54, 58, 37, 43, 72, 4, 71, 73, 20, 28, 53, 59, 70, 74, 36, 44, 88, 69, 75, 52, 60, 3, 87, 89, 19, 29, 86, 90, 35, 45, 68, 76, 85, 91, 51, 61, 104, 2, 103, 105, 18, 30, 102, 106, 34, 46, 84, 92, 67, 77, 101, 107, 50, 62, 120, 1, 119, 121, 83, 93, 17, 31, 100, 108, 66, 78, 118, 122, 33, 47, 117, 123, 49, 63, 99, 109, 82, 94, 0, 116, 124, 65, 79, 16, 32, 98, 110, 48, 115, 125, 81, 95, 64, 114, 126, 97, 111, 80, 113, 127, 96, 112], rk = [2954, 2956, 2958, 2962, 2970, 2986, 3018, 3082, 3212, 3468, 3980, 5004], sk = 8, w1 = [4, 5, 6, 7, 8, 9, 10, 10, 11, 12, 13, 14, 15, 16, 17, 17, 18, 19, 20, 20, 21, 21, 22, 22, 23, 23, 24, 25, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 91, 93, 95, 96, 98, 100, 101, 102, 104, 106, 108, 110, 112, 114, 116, 118, 122, 124, 126, 128, 130, 132, 134, 136, 138, 140, 143, 145, 148, 151, 154, 157], _1 = [4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 60, 62, 64, 66, 68, 70, 72, 74, 76, 78, 80, 82, 84, 86, 88, 90, 92, 94, 96, 98, 100, 102, 104, 106, 108, 110, 112, 114, 116, 119, 122, 125, 128, 131, 134, 137, 140, 143, 146, 149, 152, 155, 158, 161, 164, 167, 170, 173, 177, 181, 185, 189, 193, 197, 201, 205, 209, 213, 217, 221, 225, 229, 234, 239, 245, 249, 254, 259, 264, 269, 274, 279, 284], ju = null, ik = [[173, 148, 140, 0], [176, 155, 140, 135, 0], [180, 157, 141, 134, 130, 0], [254, 254, 243, 230, 196, 177, 153, 140, 133, 130, 129, 0]], ok = [0, 1, 4, 8, 5, 2, 3, 6, 9, 12, 13, 10, 7, 11, 14, 15], qw = [-0, 1, -1, 2, -2, 3, 4, 6, -3, 5, -4, -5, -6, 7, -7, 8, -8, -9], ak = [[[[128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128], [128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128], [128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128]], [[253, 136, 254, 255, 228, 219, 128, 128, 128, 128, 128], [189, 129, 242, 255, 227, 213, 255, 219, 128, 128, 128], [106, 126, 227, 252, 214, 209, 255, 255, 128, 128, 128]], [[1, 98, 248, 255, 236, 226, 255, 255, 128, 128, 128], [181, 133, 238, 254, 221, 234, 255, 154, 128, 128, 128], [78, 134, 202, 247, 198, 180, 255, 219, 128, 128, 128]], [[1, 185, 249, 255, 243, 255, 128, 128, 128, 128, 128], [184, 150, 247, 255, 236, 224, 128, 128, 128, 128, 128], [77, 110, 216, 255, 236, 230, 128, 128, 128, 128, 128]], [[1, 101, 251, 255, 241, 255, 128, 128, 128, 128, 128], [170, 139, 241, 252, 236, 209, 255, 255, 128, 128, 128], [37, 116, 196, 243, 228, 255, 255, 255, 128, 128, 128]], [[1, 204, 254, 255, 245, 255, 128, 128, 128, 128, 128], [207, 160, 250, 255, 238, 128, 128, 128, 128, 128, 128], [102, 103, 231, 255, 211, 171, 128, 128, 128, 128, 128]], [[1, 152, 252, 255, 240, 255, 128, 128, 128, 128, 128], [177, 135, 243, 255, 234, 225, 128, 128, 128, 128, 128], [80, 129, 211, 255, 194, 224, 128, 128, 128, 128, 128]], [[1, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128], [246, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128], [255, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128]]], [[[198, 35, 237, 223, 193, 187, 162, 160, 145, 155, 62], [131, 45, 198, 221, 172, 176, 220, 157, 252, 221, 1], [68, 47, 146, 208, 149, 167, 221, 162, 255, 223, 128]], [[1, 149, 241, 255, 221, 224, 255, 255, 128, 128, 128], [184, 141, 234, 253, 222, 220, 255, 199, 128, 128, 128], [81, 99, 181, 242, 176, 190, 249, 202, 255, 255, 128]], [[1, 129, 232, 253, 214, 197, 242, 196, 255, 255, 128], [99, 121, 210, 250, 201, 198, 255, 202, 128, 128, 128], [23, 91, 163, 242, 170, 187, 247, 210, 255, 255, 128]], [[1, 200, 246, 255, 234, 255, 128, 128, 128, 128, 128], [109, 178, 241, 255, 231, 245, 255, 255, 128, 128, 128], [44, 130, 201, 253, 205, 192, 255, 255, 128, 128, 128]], [[1, 132, 239, 251, 219, 209, 255, 165, 128, 128, 128], [94, 136, 225, 251, 218, 190, 255, 255, 128, 128, 128], [22, 100, 174, 245, 186, 161, 255, 199, 128, 128, 128]], [[1, 182, 249, 255, 232, 235, 128, 128, 128, 128, 128], [124, 143, 241, 255, 227, 234, 128, 128, 128, 128, 128], [35, 77, 181, 251, 193, 211, 255, 205, 128, 128, 128]], [[1, 157, 247, 255, 236, 231, 255, 255, 128, 128, 128], [121, 141, 235, 255, 225, 227, 255, 255, 128, 128, 128], [45, 99, 188, 251, 195, 217, 255, 224, 128, 128, 128]], [[1, 1, 251, 255, 213, 255, 128, 128, 128, 128, 128], [203, 1, 248, 255, 255, 128, 128, 128, 128, 128, 128], [137, 1, 177, 255, 224, 255, 128, 128, 128, 128, 128]]], [[[253, 9, 248, 251, 207, 208, 255, 192, 128, 128, 128], [175, 13, 224, 243, 193, 185, 249, 198, 255, 255, 128], [73, 17, 171, 221, 161, 179, 236, 167, 255, 234, 128]], [[1, 95, 247, 253, 212, 183, 255, 255, 128, 128, 128], [239, 90, 244, 250, 211, 209, 255, 255, 128, 128, 128], [155, 77, 195, 248, 188, 195, 255, 255, 128, 128, 128]], [[1, 24, 239, 251, 218, 219, 255, 205, 128, 128, 128], [201, 51, 219, 255, 196, 186, 128, 128, 128, 128, 128], [69, 46, 190, 239, 201, 218, 255, 228, 128, 128, 128]], [[1, 191, 251, 255, 255, 128, 128, 128, 128, 128, 128], [223, 165, 249, 255, 213, 255, 128, 128, 128, 128, 128], [141, 124, 248, 255, 255, 128, 128, 128, 128, 128, 128]], [[1, 16, 248, 255, 255, 128, 128, 128, 128, 128, 128], [190, 36, 230, 255, 236, 255, 128, 128, 128, 128, 128], [149, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128]], [[1, 226, 255, 128, 128, 128, 128, 128, 128, 128, 128], [247, 192, 255, 128, 128, 128, 128, 128, 128, 128, 128], [240, 128, 255, 128, 128, 128, 128, 128, 128, 128, 128]], [[1, 134, 252, 255, 255, 128, 128, 128, 128, 128, 128], [213, 62, 250, 255, 255, 128, 128, 128, 128, 128, 128], [55, 93, 255, 128, 128, 128, 128, 128, 128, 128, 128]], [[128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128], [128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128], [128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128]]], [[[202, 24, 213, 235, 186, 191, 220, 160, 240, 175, 255], [126, 38, 182, 232, 169, 184, 228, 174, 255, 187, 128], [61, 46, 138, 219, 151, 178, 240, 170, 255, 216, 128]], [[1, 112, 230, 250, 199, 191, 247, 159, 255, 255, 128], [166, 109, 228, 252, 211, 215, 255, 174, 128, 128, 128], [39, 77, 162, 232, 172, 180, 245, 178, 255, 255, 128]], [[1, 52, 220, 246, 198, 199, 249, 220, 255, 255, 128], [124, 74, 191, 243, 183, 193, 250, 221, 255, 255, 128], [24, 71, 130, 219, 154, 170, 243, 182, 255, 255, 128]], [[1, 182, 225, 249, 219, 240, 255, 224, 128, 128, 128], [149, 150, 226, 252, 216, 205, 255, 171, 128, 128, 128], [28, 108, 170, 242, 183, 194, 254, 223, 255, 255, 128]], [[1, 81, 230, 252, 204, 203, 255, 192, 128, 128, 128], [123, 102, 209, 247, 188, 196, 255, 233, 128, 128, 128], [20, 95, 153, 243, 164, 173, 255, 203, 128, 128, 128]], [[1, 222, 248, 255, 216, 213, 128, 128, 128, 128, 128], [168, 175, 246, 252, 235, 205, 255, 255, 128, 128, 128], [47, 116, 215, 255, 211, 212, 255, 255, 128, 128, 128]], [[1, 121, 236, 253, 212, 214, 255, 255, 128, 128, 128], [141, 84, 213, 252, 201, 202, 255, 219, 128, 128, 128], [42, 80, 160, 240, 162, 185, 255, 205, 128, 128, 128]], [[1, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128], [244, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128], [238, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128]]]], lk = [[[231, 120, 48, 89, 115, 113, 120, 152, 112], [152, 179, 64, 126, 170, 118, 46, 70, 95], [175, 69, 143, 80, 85, 82, 72, 155, 103], [56, 58, 10, 171, 218, 189, 17, 13, 152], [114, 26, 17, 163, 44, 195, 21, 10, 173], [121, 24, 80, 195, 26, 62, 44, 64, 85], [144, 71, 10, 38, 171, 213, 144, 34, 26], [170, 46, 55, 19, 136, 160, 33, 206, 71], [63, 20, 8, 114, 114, 208, 12, 9, 226], [81, 40, 11, 96, 182, 84, 29, 16, 36]], [[134, 183, 89, 137, 98, 101, 106, 165, 148], [72, 187, 100, 130, 157, 111, 32, 75, 80], [66, 102, 167, 99, 74, 62, 40, 234, 128], [41, 53, 9, 178, 241, 141, 26, 8, 107], [74, 43, 26, 146, 73, 166, 49, 23, 157], [65, 38, 105, 160, 51, 52, 31, 115, 128], [104, 79, 12, 27, 217, 255, 87, 17, 7], [87, 68, 71, 44, 114, 51, 15, 186, 23], [47, 41, 14, 110, 182, 183, 21, 17, 194], [66, 45, 25, 102, 197, 189, 23, 18, 22]], [[88, 88, 147, 150, 42, 46, 45, 196, 205], [43, 97, 183, 117, 85, 38, 35, 179, 61], [39, 53, 200, 87, 26, 21, 43, 232, 171], [56, 34, 51, 104, 114, 102, 29, 93, 77], [39, 28, 85, 171, 58, 165, 90, 98, 64], [34, 22, 116, 206, 23, 34, 43, 166, 73], [107, 54, 32, 26, 51, 1, 81, 43, 31], [68, 25, 106, 22, 64, 171, 36, 225, 114], [34, 19, 21, 102, 132, 188, 16, 76, 124], [62, 18, 78, 95, 85, 57, 50, 48, 51]], [[193, 101, 35, 159, 215, 111, 89, 46, 111], [60, 148, 31, 172, 219, 228, 21, 18, 111], [112, 113, 77, 85, 179, 255, 38, 120, 114], [40, 42, 1, 196, 245, 209, 10, 25, 109], [88, 43, 29, 140, 166, 213, 37, 43, 154], [61, 63, 30, 155, 67, 45, 68, 1, 209], [100, 80, 8, 43, 154, 1, 51, 26, 71], [142, 78, 78, 16, 255, 128, 34, 197, 171], [41, 40, 5, 102, 211, 183, 4, 1, 221], [51, 50, 17, 168, 209, 192, 23, 25, 82]], [[138, 31, 36, 171, 27, 166, 38, 44, 229], [67, 87, 58, 169, 82, 115, 26, 59, 179], [63, 59, 90, 180, 59, 166, 93, 73, 154], [40, 40, 21, 116, 143, 209, 34, 39, 175], [47, 15, 16, 183, 34, 223, 49, 45, 183], [46, 17, 33, 183, 6, 98, 15, 32, 183], [57, 46, 22, 24, 128, 1, 54, 17, 37], [65, 32, 73, 115, 28, 128, 23, 128, 205], [40, 3, 9, 115, 51, 192, 18, 6, 223], [87, 37, 9, 115, 59, 77, 64, 21, 47]], [[104, 55, 44, 218, 9, 54, 53, 130, 226], [64, 90, 70, 205, 40, 41, 23, 26, 57], [54, 57, 112, 184, 5, 41, 38, 166, 213], [30, 34, 26, 133, 152, 116, 10, 32, 134], [39, 19, 53, 221, 26, 114, 32, 73, 255], [31, 9, 65, 234, 2, 15, 1, 118, 73], [75, 32, 12, 51, 192, 255, 160, 43, 51], [88, 31, 35, 67, 102, 85, 55, 186, 85], [56, 21, 23, 111, 59, 205, 45, 37, 192], [55, 38, 70, 124, 73, 102, 1, 34, 98]], [[125, 98, 42, 88, 104, 85, 117, 175, 82], [95, 84, 53, 89, 128, 100, 113, 101, 45], [75, 79, 123, 47, 51, 128, 81, 171, 1], [57, 17, 5, 71, 102, 57, 53, 41, 49], [38, 33, 13, 121, 57, 73, 26, 1, 85], [41, 10, 67, 138, 77, 110, 90, 47, 114], [115, 21, 2, 10, 102, 255, 166, 23, 6], [101, 29, 16, 10, 85, 128, 101, 196, 26], [57, 18, 10, 102, 102, 213, 34, 20, 43], [117, 20, 15, 36, 163, 128, 68, 1, 26]], [[102, 61, 71, 37, 34, 53, 31, 243, 192], [69, 60, 71, 38, 73, 119, 28, 222, 37], [68, 45, 128, 34, 1, 47, 11, 245, 171], [62, 17, 19, 70, 146, 85, 55, 62, 70], [37, 43, 37, 154, 100, 163, 85, 160, 1], [63, 9, 92, 136, 28, 64, 32, 201, 85], [75, 15, 9, 9, 64, 255, 184, 119, 16], [86, 6, 28, 5, 64, 255, 25, 248, 1], [56, 8, 17, 132, 137, 255, 55, 116, 128], [58, 15, 20, 82, 135, 57, 26, 121, 40]], [[164, 50, 31, 137, 154, 133, 25, 35, 218], [51, 103, 44, 131, 131, 123, 31, 6, 158], [86, 40, 64, 135, 148, 224, 45, 183, 128], [22, 26, 17, 131, 240, 154, 14, 1, 209], [45, 16, 21, 91, 64, 222, 7, 1, 197], [56, 21, 39, 155, 60, 138, 23, 102, 213], [83, 12, 13, 54, 192, 255, 68, 47, 28], [85, 26, 85, 85, 128, 128, 32, 146, 171], [18, 11, 7, 63, 144, 171, 4, 4, 246], [35, 27, 10, 146, 174, 171, 12, 26, 128]], [[190, 80, 35, 99, 180, 80, 126, 54, 45], [85, 126, 47, 87, 176, 51, 41, 20, 32], [101, 75, 128, 139, 118, 146, 116, 128, 85], [56, 41, 15, 176, 236, 85, 37, 9, 62], [71, 30, 17, 119, 118, 255, 17, 18, 138], [101, 38, 60, 138, 55, 70, 43, 26, 142], [146, 36, 19, 30, 171, 255, 97, 27, 20], [138, 45, 61, 62, 219, 1, 81, 188, 64], [32, 41, 20, 117, 151, 142, 20, 21, 163], [112, 19, 12, 61, 195, 128, 48, 4, 24]]], dk = [[[[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[176, 246, 255, 255, 255, 255, 255, 255, 255, 255, 255], [223, 241, 252, 255, 255, 255, 255, 255, 255, 255, 255], [249, 253, 253, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 244, 252, 255, 255, 255, 255, 255, 255, 255, 255], [234, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [253, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 246, 254, 255, 255, 255, 255, 255, 255, 255, 255], [239, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 248, 254, 255, 255, 255, 255, 255, 255, 255, 255], [251, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [251, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 254, 253, 255, 254, 255, 255, 255, 255, 255, 255], [250, 255, 254, 255, 254, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]]], [[[217, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [225, 252, 241, 253, 255, 255, 254, 255, 255, 255, 255], [234, 250, 241, 250, 253, 255, 253, 254, 255, 255, 255]], [[255, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [223, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [238, 253, 254, 254, 255, 255, 255, 255, 255, 255, 255]], [[255, 248, 254, 255, 255, 255, 255, 255, 255, 255, 255], [249, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 253, 255, 255, 255, 255, 255, 255, 255, 255, 255], [247, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [252, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [253, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 254, 253, 255, 255, 255, 255, 255, 255, 255, 255], [250, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]]], [[[186, 251, 250, 255, 255, 255, 255, 255, 255, 255, 255], [234, 251, 244, 254, 255, 255, 255, 255, 255, 255, 255], [251, 251, 243, 253, 254, 255, 254, 255, 255, 255, 255]], [[255, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [236, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [251, 253, 253, 254, 254, 255, 255, 255, 255, 255, 255]], [[255, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [254, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]]], [[[248, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [250, 254, 252, 254, 255, 255, 255, 255, 255, 255, 255], [248, 254, 249, 253, 255, 255, 255, 255, 255, 255, 255]], [[255, 253, 253, 255, 255, 255, 255, 255, 255, 255, 255], [246, 253, 253, 255, 255, 255, 255, 255, 255, 255, 255], [252, 254, 251, 254, 254, 255, 255, 255, 255, 255, 255]], [[255, 254, 252, 255, 255, 255, 255, 255, 255, 255, 255], [248, 254, 253, 255, 255, 255, 255, 255, 255, 255, 255], [253, 255, 254, 254, 255, 255, 255, 255, 255, 255, 255]], [[255, 251, 254, 255, 255, 255, 255, 255, 255, 255, 255], [245, 251, 254, 255, 255, 255, 255, 255, 255, 255, 255], [253, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 251, 253, 255, 255, 255, 255, 255, 255, 255, 255], [252, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [255, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 252, 255, 255, 255, 255, 255, 255, 255, 255, 255], [249, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 253, 255, 255, 255, 255, 255, 255, 255, 255], [250, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]]]], ck = [0, 1, 2, 3, 6, 4, 5, 6, 6, 6, 6, 6, 6, 6, 6, 7, 0], Ua = [], li = [], Do = [], Ak = 1, Vw = 2, Pa = [], Rs = [];
62096
- Te("UpsampleRgbLinePair", Nt, 3), Te("UpsampleBgrLinePair", yn, 3), Te("UpsampleRgbaLinePair", ai, 4), Te("UpsampleBgraLinePair", tr, 4), Te("UpsampleArgbLinePair", Cr, 4), Te("UpsampleRgba4444LinePair", Qn, 2), Te("UpsampleRgb565LinePair", _n, 2);
62099
+ var Wl, ts, Or, Sa, Uo, Po, Uc, jo, In, Iu, Nr, Ps, Pc, qh, Tu, Yl, Jl, Ia, Xl, jc, Zl, Ta, Uu, js, Fs, cn, An, Tn, Xn = i(511), Fo = i(2041), Pu = i(225), Fc = i(767), Vh = 0, f1 = Fo, Kh = Pu, hs = Fc, Ds = Xn, Gh = 0, Wh = 1, Mw = 2, Yh = 3, Jh = 4, m1 = 5, zw = 6, y1 = 7, v1 = 8, Xh = 9, b1 = 10, ZE = [2, 3, 7], $E = [3, 3, 11], Hw = [280, 256, 256, 256, 40], ek = [0, 1, 1, 1, 0], tk = [17, 18, 0, 1, 2, 3, 4, 5, 16, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], nk = [24, 7, 23, 25, 40, 6, 39, 41, 22, 26, 38, 42, 56, 5, 55, 57, 21, 27, 54, 58, 37, 43, 72, 4, 71, 73, 20, 28, 53, 59, 70, 74, 36, 44, 88, 69, 75, 52, 60, 3, 87, 89, 19, 29, 86, 90, 35, 45, 68, 76, 85, 91, 51, 61, 104, 2, 103, 105, 18, 30, 102, 106, 34, 46, 84, 92, 67, 77, 101, 107, 50, 62, 120, 1, 119, 121, 83, 93, 17, 31, 100, 108, 66, 78, 118, 122, 33, 47, 117, 123, 49, 63, 99, 109, 82, 94, 0, 116, 124, 65, 79, 16, 32, 98, 110, 48, 115, 125, 81, 95, 64, 114, 126, 97, 111, 80, 113, 127, 96, 112], rk = [2954, 2956, 2958, 2962, 2970, 2986, 3018, 3082, 3212, 3468, 3980, 5004], sk = 8, w1 = [4, 5, 6, 7, 8, 9, 10, 10, 11, 12, 13, 14, 15, 16, 17, 17, 18, 19, 20, 20, 21, 21, 22, 22, 23, 23, 24, 25, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 91, 93, 95, 96, 98, 100, 101, 102, 104, 106, 108, 110, 112, 114, 116, 118, 122, 124, 126, 128, 130, 132, 134, 136, 138, 140, 143, 145, 148, 151, 154, 157], _1 = [4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 60, 62, 64, 66, 68, 70, 72, 74, 76, 78, 80, 82, 84, 86, 88, 90, 92, 94, 96, 98, 100, 102, 104, 106, 108, 110, 112, 114, 116, 119, 122, 125, 128, 131, 134, 137, 140, 143, 146, 149, 152, 155, 158, 161, 164, 167, 170, 173, 177, 181, 185, 189, 193, 197, 201, 205, 209, 213, 217, 221, 225, 229, 234, 239, 245, 249, 254, 259, 264, 269, 274, 279, 284], ju = null, ik = [[173, 148, 140, 0], [176, 155, 140, 135, 0], [180, 157, 141, 134, 130, 0], [254, 254, 243, 230, 196, 177, 153, 140, 133, 130, 129, 0]], ok = [0, 1, 4, 8, 5, 2, 3, 6, 9, 12, 13, 10, 7, 11, 14, 15], qw = [-0, 1, -1, 2, -2, 3, 4, 6, -3, 5, -4, -5, -6, 7, -7, 8, -8, -9], ak = [[[[128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128], [128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128], [128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128]], [[253, 136, 254, 255, 228, 219, 128, 128, 128, 128, 128], [189, 129, 242, 255, 227, 213, 255, 219, 128, 128, 128], [106, 126, 227, 252, 214, 209, 255, 255, 128, 128, 128]], [[1, 98, 248, 255, 236, 226, 255, 255, 128, 128, 128], [181, 133, 238, 254, 221, 234, 255, 154, 128, 128, 128], [78, 134, 202, 247, 198, 180, 255, 219, 128, 128, 128]], [[1, 185, 249, 255, 243, 255, 128, 128, 128, 128, 128], [184, 150, 247, 255, 236, 224, 128, 128, 128, 128, 128], [77, 110, 216, 255, 236, 230, 128, 128, 128, 128, 128]], [[1, 101, 251, 255, 241, 255, 128, 128, 128, 128, 128], [170, 139, 241, 252, 236, 209, 255, 255, 128, 128, 128], [37, 116, 196, 243, 228, 255, 255, 255, 128, 128, 128]], [[1, 204, 254, 255, 245, 255, 128, 128, 128, 128, 128], [207, 160, 250, 255, 238, 128, 128, 128, 128, 128, 128], [102, 103, 231, 255, 211, 171, 128, 128, 128, 128, 128]], [[1, 152, 252, 255, 240, 255, 128, 128, 128, 128, 128], [177, 135, 243, 255, 234, 225, 128, 128, 128, 128, 128], [80, 129, 211, 255, 194, 224, 128, 128, 128, 128, 128]], [[1, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128], [246, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128], [255, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128]]], [[[198, 35, 237, 223, 193, 187, 162, 160, 145, 155, 62], [131, 45, 198, 221, 172, 176, 220, 157, 252, 221, 1], [68, 47, 146, 208, 149, 167, 221, 162, 255, 223, 128]], [[1, 149, 241, 255, 221, 224, 255, 255, 128, 128, 128], [184, 141, 234, 253, 222, 220, 255, 199, 128, 128, 128], [81, 99, 181, 242, 176, 190, 249, 202, 255, 255, 128]], [[1, 129, 232, 253, 214, 197, 242, 196, 255, 255, 128], [99, 121, 210, 250, 201, 198, 255, 202, 128, 128, 128], [23, 91, 163, 242, 170, 187, 247, 210, 255, 255, 128]], [[1, 200, 246, 255, 234, 255, 128, 128, 128, 128, 128], [109, 178, 241, 255, 231, 245, 255, 255, 128, 128, 128], [44, 130, 201, 253, 205, 192, 255, 255, 128, 128, 128]], [[1, 132, 239, 251, 219, 209, 255, 165, 128, 128, 128], [94, 136, 225, 251, 218, 190, 255, 255, 128, 128, 128], [22, 100, 174, 245, 186, 161, 255, 199, 128, 128, 128]], [[1, 182, 249, 255, 232, 235, 128, 128, 128, 128, 128], [124, 143, 241, 255, 227, 234, 128, 128, 128, 128, 128], [35, 77, 181, 251, 193, 211, 255, 205, 128, 128, 128]], [[1, 157, 247, 255, 236, 231, 255, 255, 128, 128, 128], [121, 141, 235, 255, 225, 227, 255, 255, 128, 128, 128], [45, 99, 188, 251, 195, 217, 255, 224, 128, 128, 128]], [[1, 1, 251, 255, 213, 255, 128, 128, 128, 128, 128], [203, 1, 248, 255, 255, 128, 128, 128, 128, 128, 128], [137, 1, 177, 255, 224, 255, 128, 128, 128, 128, 128]]], [[[253, 9, 248, 251, 207, 208, 255, 192, 128, 128, 128], [175, 13, 224, 243, 193, 185, 249, 198, 255, 255, 128], [73, 17, 171, 221, 161, 179, 236, 167, 255, 234, 128]], [[1, 95, 247, 253, 212, 183, 255, 255, 128, 128, 128], [239, 90, 244, 250, 211, 209, 255, 255, 128, 128, 128], [155, 77, 195, 248, 188, 195, 255, 255, 128, 128, 128]], [[1, 24, 239, 251, 218, 219, 255, 205, 128, 128, 128], [201, 51, 219, 255, 196, 186, 128, 128, 128, 128, 128], [69, 46, 190, 239, 201, 218, 255, 228, 128, 128, 128]], [[1, 191, 251, 255, 255, 128, 128, 128, 128, 128, 128], [223, 165, 249, 255, 213, 255, 128, 128, 128, 128, 128], [141, 124, 248, 255, 255, 128, 128, 128, 128, 128, 128]], [[1, 16, 248, 255, 255, 128, 128, 128, 128, 128, 128], [190, 36, 230, 255, 236, 255, 128, 128, 128, 128, 128], [149, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128]], [[1, 226, 255, 128, 128, 128, 128, 128, 128, 128, 128], [247, 192, 255, 128, 128, 128, 128, 128, 128, 128, 128], [240, 128, 255, 128, 128, 128, 128, 128, 128, 128, 128]], [[1, 134, 252, 255, 255, 128, 128, 128, 128, 128, 128], [213, 62, 250, 255, 255, 128, 128, 128, 128, 128, 128], [55, 93, 255, 128, 128, 128, 128, 128, 128, 128, 128]], [[128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128], [128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128], [128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128]]], [[[202, 24, 213, 235, 186, 191, 220, 160, 240, 175, 255], [126, 38, 182, 232, 169, 184, 228, 174, 255, 187, 128], [61, 46, 138, 219, 151, 178, 240, 170, 255, 216, 128]], [[1, 112, 230, 250, 199, 191, 247, 159, 255, 255, 128], [166, 109, 228, 252, 211, 215, 255, 174, 128, 128, 128], [39, 77, 162, 232, 172, 180, 245, 178, 255, 255, 128]], [[1, 52, 220, 246, 198, 199, 249, 220, 255, 255, 128], [124, 74, 191, 243, 183, 193, 250, 221, 255, 255, 128], [24, 71, 130, 219, 154, 170, 243, 182, 255, 255, 128]], [[1, 182, 225, 249, 219, 240, 255, 224, 128, 128, 128], [149, 150, 226, 252, 216, 205, 255, 171, 128, 128, 128], [28, 108, 170, 242, 183, 194, 254, 223, 255, 255, 128]], [[1, 81, 230, 252, 204, 203, 255, 192, 128, 128, 128], [123, 102, 209, 247, 188, 196, 255, 233, 128, 128, 128], [20, 95, 153, 243, 164, 173, 255, 203, 128, 128, 128]], [[1, 222, 248, 255, 216, 213, 128, 128, 128, 128, 128], [168, 175, 246, 252, 235, 205, 255, 255, 128, 128, 128], [47, 116, 215, 255, 211, 212, 255, 255, 128, 128, 128]], [[1, 121, 236, 253, 212, 214, 255, 255, 128, 128, 128], [141, 84, 213, 252, 201, 202, 255, 219, 128, 128, 128], [42, 80, 160, 240, 162, 185, 255, 205, 128, 128, 128]], [[1, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128], [244, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128], [238, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128]]]], lk = [[[231, 120, 48, 89, 115, 113, 120, 152, 112], [152, 179, 64, 126, 170, 118, 46, 70, 95], [175, 69, 143, 80, 85, 82, 72, 155, 103], [56, 58, 10, 171, 218, 189, 17, 13, 152], [114, 26, 17, 163, 44, 195, 21, 10, 173], [121, 24, 80, 195, 26, 62, 44, 64, 85], [144, 71, 10, 38, 171, 213, 144, 34, 26], [170, 46, 55, 19, 136, 160, 33, 206, 71], [63, 20, 8, 114, 114, 208, 12, 9, 226], [81, 40, 11, 96, 182, 84, 29, 16, 36]], [[134, 183, 89, 137, 98, 101, 106, 165, 148], [72, 187, 100, 130, 157, 111, 32, 75, 80], [66, 102, 167, 99, 74, 62, 40, 234, 128], [41, 53, 9, 178, 241, 141, 26, 8, 107], [74, 43, 26, 146, 73, 166, 49, 23, 157], [65, 38, 105, 160, 51, 52, 31, 115, 128], [104, 79, 12, 27, 217, 255, 87, 17, 7], [87, 68, 71, 44, 114, 51, 15, 186, 23], [47, 41, 14, 110, 182, 183, 21, 17, 194], [66, 45, 25, 102, 197, 189, 23, 18, 22]], [[88, 88, 147, 150, 42, 46, 45, 196, 205], [43, 97, 183, 117, 85, 38, 35, 179, 61], [39, 53, 200, 87, 26, 21, 43, 232, 171], [56, 34, 51, 104, 114, 102, 29, 93, 77], [39, 28, 85, 171, 58, 165, 90, 98, 64], [34, 22, 116, 206, 23, 34, 43, 166, 73], [107, 54, 32, 26, 51, 1, 81, 43, 31], [68, 25, 106, 22, 64, 171, 36, 225, 114], [34, 19, 21, 102, 132, 188, 16, 76, 124], [62, 18, 78, 95, 85, 57, 50, 48, 51]], [[193, 101, 35, 159, 215, 111, 89, 46, 111], [60, 148, 31, 172, 219, 228, 21, 18, 111], [112, 113, 77, 85, 179, 255, 38, 120, 114], [40, 42, 1, 196, 245, 209, 10, 25, 109], [88, 43, 29, 140, 166, 213, 37, 43, 154], [61, 63, 30, 155, 67, 45, 68, 1, 209], [100, 80, 8, 43, 154, 1, 51, 26, 71], [142, 78, 78, 16, 255, 128, 34, 197, 171], [41, 40, 5, 102, 211, 183, 4, 1, 221], [51, 50, 17, 168, 209, 192, 23, 25, 82]], [[138, 31, 36, 171, 27, 166, 38, 44, 229], [67, 87, 58, 169, 82, 115, 26, 59, 179], [63, 59, 90, 180, 59, 166, 93, 73, 154], [40, 40, 21, 116, 143, 209, 34, 39, 175], [47, 15, 16, 183, 34, 223, 49, 45, 183], [46, 17, 33, 183, 6, 98, 15, 32, 183], [57, 46, 22, 24, 128, 1, 54, 17, 37], [65, 32, 73, 115, 28, 128, 23, 128, 205], [40, 3, 9, 115, 51, 192, 18, 6, 223], [87, 37, 9, 115, 59, 77, 64, 21, 47]], [[104, 55, 44, 218, 9, 54, 53, 130, 226], [64, 90, 70, 205, 40, 41, 23, 26, 57], [54, 57, 112, 184, 5, 41, 38, 166, 213], [30, 34, 26, 133, 152, 116, 10, 32, 134], [39, 19, 53, 221, 26, 114, 32, 73, 255], [31, 9, 65, 234, 2, 15, 1, 118, 73], [75, 32, 12, 51, 192, 255, 160, 43, 51], [88, 31, 35, 67, 102, 85, 55, 186, 85], [56, 21, 23, 111, 59, 205, 45, 37, 192], [55, 38, 70, 124, 73, 102, 1, 34, 98]], [[125, 98, 42, 88, 104, 85, 117, 175, 82], [95, 84, 53, 89, 128, 100, 113, 101, 45], [75, 79, 123, 47, 51, 128, 81, 171, 1], [57, 17, 5, 71, 102, 57, 53, 41, 49], [38, 33, 13, 121, 57, 73, 26, 1, 85], [41, 10, 67, 138, 77, 110, 90, 47, 114], [115, 21, 2, 10, 102, 255, 166, 23, 6], [101, 29, 16, 10, 85, 128, 101, 196, 26], [57, 18, 10, 102, 102, 213, 34, 20, 43], [117, 20, 15, 36, 163, 128, 68, 1, 26]], [[102, 61, 71, 37, 34, 53, 31, 243, 192], [69, 60, 71, 38, 73, 119, 28, 222, 37], [68, 45, 128, 34, 1, 47, 11, 245, 171], [62, 17, 19, 70, 146, 85, 55, 62, 70], [37, 43, 37, 154, 100, 163, 85, 160, 1], [63, 9, 92, 136, 28, 64, 32, 201, 85], [75, 15, 9, 9, 64, 255, 184, 119, 16], [86, 6, 28, 5, 64, 255, 25, 248, 1], [56, 8, 17, 132, 137, 255, 55, 116, 128], [58, 15, 20, 82, 135, 57, 26, 121, 40]], [[164, 50, 31, 137, 154, 133, 25, 35, 218], [51, 103, 44, 131, 131, 123, 31, 6, 158], [86, 40, 64, 135, 148, 224, 45, 183, 128], [22, 26, 17, 131, 240, 154, 14, 1, 209], [45, 16, 21, 91, 64, 222, 7, 1, 197], [56, 21, 39, 155, 60, 138, 23, 102, 213], [83, 12, 13, 54, 192, 255, 68, 47, 28], [85, 26, 85, 85, 128, 128, 32, 146, 171], [18, 11, 7, 63, 144, 171, 4, 4, 246], [35, 27, 10, 146, 174, 171, 12, 26, 128]], [[190, 80, 35, 99, 180, 80, 126, 54, 45], [85, 126, 47, 87, 176, 51, 41, 20, 32], [101, 75, 128, 139, 118, 146, 116, 128, 85], [56, 41, 15, 176, 236, 85, 37, 9, 62], [71, 30, 17, 119, 118, 255, 17, 18, 138], [101, 38, 60, 138, 55, 70, 43, 26, 142], [146, 36, 19, 30, 171, 255, 97, 27, 20], [138, 45, 61, 62, 219, 1, 81, 188, 64], [32, 41, 20, 117, 151, 142, 20, 21, 163], [112, 19, 12, 61, 195, 128, 48, 4, 24]]], dk = [[[[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[176, 246, 255, 255, 255, 255, 255, 255, 255, 255, 255], [223, 241, 252, 255, 255, 255, 255, 255, 255, 255, 255], [249, 253, 253, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 244, 252, 255, 255, 255, 255, 255, 255, 255, 255], [234, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [253, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 246, 254, 255, 255, 255, 255, 255, 255, 255, 255], [239, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 248, 254, 255, 255, 255, 255, 255, 255, 255, 255], [251, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [251, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 254, 253, 255, 254, 255, 255, 255, 255, 255, 255], [250, 255, 254, 255, 254, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]]], [[[217, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [225, 252, 241, 253, 255, 255, 254, 255, 255, 255, 255], [234, 250, 241, 250, 253, 255, 253, 254, 255, 255, 255]], [[255, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [223, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [238, 253, 254, 254, 255, 255, 255, 255, 255, 255, 255]], [[255, 248, 254, 255, 255, 255, 255, 255, 255, 255, 255], [249, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 253, 255, 255, 255, 255, 255, 255, 255, 255, 255], [247, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [252, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [253, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 254, 253, 255, 255, 255, 255, 255, 255, 255, 255], [250, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]]], [[[186, 251, 250, 255, 255, 255, 255, 255, 255, 255, 255], [234, 251, 244, 254, 255, 255, 255, 255, 255, 255, 255], [251, 251, 243, 253, 254, 255, 254, 255, 255, 255, 255]], [[255, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [236, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [251, 253, 253, 254, 254, 255, 255, 255, 255, 255, 255]], [[255, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [254, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]]], [[[248, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [250, 254, 252, 254, 255, 255, 255, 255, 255, 255, 255], [248, 254, 249, 253, 255, 255, 255, 255, 255, 255, 255]], [[255, 253, 253, 255, 255, 255, 255, 255, 255, 255, 255], [246, 253, 253, 255, 255, 255, 255, 255, 255, 255, 255], [252, 254, 251, 254, 254, 255, 255, 255, 255, 255, 255]], [[255, 254, 252, 255, 255, 255, 255, 255, 255, 255, 255], [248, 254, 253, 255, 255, 255, 255, 255, 255, 255, 255], [253, 255, 254, 254, 255, 255, 255, 255, 255, 255, 255]], [[255, 251, 254, 255, 255, 255, 255, 255, 255, 255, 255], [245, 251, 254, 255, 255, 255, 255, 255, 255, 255, 255], [253, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 251, 253, 255, 255, 255, 255, 255, 255, 255, 255], [252, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [255, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 252, 255, 255, 255, 255, 255, 255, 255, 255, 255], [249, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 253, 255, 255, 255, 255, 255, 255, 255, 255], [250, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]]]], ck = [0, 1, 2, 3, 6, 4, 5, 6, 6, 6, 6, 6, 6, 6, 6, 7, 0], Ua = [], di = [], Do = [], Ak = 1, Vw = 2, Pa = [], Rs = [];
62100
+ Te("UpsampleRgbLinePair", Nt, 3), Te("UpsampleBgrLinePair", yn, 3), Te("UpsampleRgbaLinePair", li, 4), Te("UpsampleBgraLinePair", tr, 4), Te("UpsampleArgbLinePair", Cr, 4), Te("UpsampleRgba4444LinePair", Qn, 2), Te("UpsampleRgb565LinePair", _n, 2);
62097
62101
  var uk = M.UpsampleRgbLinePair, pk = M.UpsampleBgrLinePair, Kw = M.UpsampleRgbaLinePair, Gw = M.UpsampleBgraLinePair, Ww = M.UpsampleArgbLinePair, Yw = M.UpsampleRgba4444LinePair, hk = M.UpsampleRgb565LinePair, Zh = 16, $h = 1 << Zh - 1, Fu = -227, x1 = 482, Jw = 6, gk = (256 << Jw) - 1, Xw = 0, fk = i(256), mk = i(256), yk = i(256), vk = i(256), bk = i(x1 - Fu), wk = i(x1 - Fu);
62098
- eo("YuvToRgbRow", Nt, 3), eo("YuvToBgrRow", yn, 3), eo("YuvToRgbaRow", ai, 4), eo("YuvToBgraRow", tr, 4), eo("YuvToArgbRow", Cr, 4), eo("YuvToRgba4444Row", Qn, 2), eo("YuvToRgb565Row", _n, 2);
62102
+ eo("YuvToRgbRow", Nt, 3), eo("YuvToBgrRow", yn, 3), eo("YuvToRgbaRow", li, 4), eo("YuvToBgraRow", tr, 4), eo("YuvToArgbRow", Cr, 4), eo("YuvToRgba4444Row", Qn, 2), eo("YuvToRgb565Row", _n, 2);
62099
62103
  var Zw = [0, 4, 8, 12, 128, 132, 136, 140, 256, 260, 264, 268, 384, 388, 392, 396], eg = [0, 2, 8], _k = [8, 7, 6, 4, 4, 2, 2, 2, 1, 1, 1, 1], xk = 1;
62100
62104
  this.WebPDecodeRGBA = function(A, g, v, B, E) {
62101
- var U = Wh, P = new xc(), F = new ei();
62105
+ var U = Wh, P = new xc(), F = new ti();
62102
62106
  P.ba = F, F.S = U, F.width = [F.width], F.height = [F.height];
62103
62107
  var O = F.width, K = F.height, re = new ko();
62104
62108
  if (re == null || A == null)
@@ -62154,7 +62158,7 @@ function Z3(t) {
62154
62158
  }
62155
62159
  B.xb = 0;
62156
62160
  }
62157
- if (!si(B, B.V, B.Ba, B.c, B.i, v.o, cc))
62161
+ if (!ii(B, B.V, B.Ba, B.c, B.i, v.o, cc))
62158
62162
  break n;
62159
62163
  E.Dc = B.Ma, B = 1;
62160
62164
  break t;
@@ -62401,7 +62405,7 @@ function Z3(t) {
62401
62405
  var l = { data: d, width: o, height: a }, c = new ov(100).encode(l, 100);
62402
62406
  return t.processJPEG.call(this, c, n, r, s);
62403
62407
  }, t.processGIF87A = t.processGIF89A;
62404
- }(gt.API), pi.prototype.parseHeader = function() {
62408
+ }(gt.API), hi.prototype.parseHeader = function() {
62405
62409
  if (this.fileSize = this.datav.getUint32(this.pos, !0), this.pos += 4, this.reserved = this.datav.getUint32(this.pos, !0), this.pos += 4, this.offset = this.datav.getUint32(this.pos, !0), this.pos += 4, this.headerSize = this.datav.getUint32(this.pos, !0), this.pos += 4, this.width = this.datav.getUint32(this.pos, !0), this.pos += 4, this.height = this.datav.getInt32(this.pos, !0), this.pos += 4, this.planes = this.datav.getUint16(this.pos, !0), this.pos += 2, this.bitPP = this.datav.getUint16(this.pos, !0), this.pos += 2, this.compress = this.datav.getUint32(this.pos, !0), this.pos += 4, this.rawSize = this.datav.getUint32(this.pos, !0), this.pos += 4, this.hr = this.datav.getUint32(this.pos, !0), this.pos += 4, this.vr = this.datav.getUint32(this.pos, !0), this.pos += 4, this.colors = this.datav.getUint32(this.pos, !0), this.pos += 4, this.importantColors = this.datav.getUint32(this.pos, !0), this.pos += 4, this.bitPP === 16 && this.is_with_alpha && (this.bitPP = 15), this.bitPP < 15) {
62406
62410
  var t = this.colors === 0 ? 1 << this.bitPP : this.colors;
62407
62411
  this.palette = new Array(t);
@@ -62411,7 +62415,7 @@ function Z3(t) {
62411
62415
  }
62412
62416
  }
62413
62417
  this.height < 0 && (this.height *= -1, this.bottom_up = !1);
62414
- }, pi.prototype.parseBGR = function() {
62418
+ }, hi.prototype.parseBGR = function() {
62415
62419
  this.pos = this.offset;
62416
62420
  try {
62417
62421
  var t = "bit" + this.bitPP, e = this.width * this.height * 4;
@@ -62419,7 +62423,7 @@ function Z3(t) {
62419
62423
  } catch (n) {
62420
62424
  an.log("bit decode error:" + n);
62421
62425
  }
62422
- }, pi.prototype.bit1 = function() {
62426
+ }, hi.prototype.bit1 = function() {
62423
62427
  var t, e = Math.ceil(this.width / 8), n = e % 4;
62424
62428
  for (t = this.height - 1; t >= 0; t--) {
62425
62429
  for (var r = this.bottom_up ? t : this.height - 1 - t, s = 0; s < e; s++)
@@ -62429,7 +62433,7 @@ function Z3(t) {
62429
62433
  }
62430
62434
  n !== 0 && (this.pos += 4 - n);
62431
62435
  }
62432
- }, pi.prototype.bit4 = function() {
62436
+ }, hi.prototype.bit4 = function() {
62433
62437
  for (var t = Math.ceil(this.width / 2), e = t % 4, n = this.height - 1; n >= 0; n--) {
62434
62438
  for (var r = this.bottom_up ? n : this.height - 1 - n, s = 0; s < t; s++) {
62435
62439
  var i = this.datav.getUint8(this.pos++, !0), o = r * this.width * 4 + 2 * s * 4, a = i >> 4, d = 15 & i, l = this.palette[a];
@@ -62439,7 +62443,7 @@ function Z3(t) {
62439
62443
  }
62440
62444
  e !== 0 && (this.pos += 4 - e);
62441
62445
  }
62442
- }, pi.prototype.bit8 = function() {
62446
+ }, hi.prototype.bit8 = function() {
62443
62447
  for (var t = this.width % 4, e = this.height - 1; e >= 0; e--) {
62444
62448
  for (var n = this.bottom_up ? e : this.height - 1 - e, r = 0; r < this.width; r++) {
62445
62449
  var s = this.datav.getUint8(this.pos++, !0), i = n * this.width * 4 + 4 * r;
@@ -62451,7 +62455,7 @@ function Z3(t) {
62451
62455
  }
62452
62456
  t !== 0 && (this.pos += 4 - t);
62453
62457
  }
62454
- }, pi.prototype.bit15 = function() {
62458
+ }, hi.prototype.bit15 = function() {
62455
62459
  for (var t = this.width % 3, e = parseInt("11111", 2), n = this.height - 1; n >= 0; n--) {
62456
62460
  for (var r = this.bottom_up ? n : this.height - 1 - n, s = 0; s < this.width; s++) {
62457
62461
  var i = this.datav.getUint16(this.pos, !0);
@@ -62461,7 +62465,7 @@ function Z3(t) {
62461
62465
  }
62462
62466
  this.pos += t;
62463
62467
  }
62464
- }, pi.prototype.bit16 = function() {
62468
+ }, hi.prototype.bit16 = function() {
62465
62469
  for (var t = this.width % 3, e = parseInt("11111", 2), n = parseInt("111111", 2), r = this.height - 1; r >= 0; r--) {
62466
62470
  for (var s = this.bottom_up ? r : this.height - 1 - r, i = 0; i < this.width; i++) {
62467
62471
  var o = this.datav.getUint16(this.pos, !0);
@@ -62471,7 +62475,7 @@ function Z3(t) {
62471
62475
  }
62472
62476
  this.pos += t;
62473
62477
  }
62474
- }, pi.prototype.bit24 = function() {
62478
+ }, hi.prototype.bit24 = function() {
62475
62479
  for (var t = this.height - 1; t >= 0; t--) {
62476
62480
  for (var e = this.bottom_up ? t : this.height - 1 - t, n = 0; n < this.width; n++) {
62477
62481
  var r = this.datav.getUint8(this.pos++, !0), s = this.datav.getUint8(this.pos++, !0), i = this.datav.getUint8(this.pos++, !0), o = e * this.width * 4 + 4 * n;
@@ -62479,13 +62483,13 @@ function Z3(t) {
62479
62483
  }
62480
62484
  this.pos += this.width % 4;
62481
62485
  }
62482
- }, pi.prototype.bit32 = function() {
62486
+ }, hi.prototype.bit32 = function() {
62483
62487
  for (var t = this.height - 1; t >= 0; t--)
62484
62488
  for (var e = this.bottom_up ? t : this.height - 1 - t, n = 0; n < this.width; n++) {
62485
62489
  var r = this.datav.getUint8(this.pos++, !0), s = this.datav.getUint8(this.pos++, !0), i = this.datav.getUint8(this.pos++, !0), o = this.datav.getUint8(this.pos++, !0), a = e * this.width * 4 + 4 * n;
62486
62490
  this.data[a] = i, this.data[a + 1] = s, this.data[a + 2] = r, this.data[a + 3] = o;
62487
62491
  }
62488
- }, pi.prototype.getData = function() {
62492
+ }, hi.prototype.getData = function() {
62489
62493
  return this.data;
62490
62494
  }, /**
62491
62495
  * @license
@@ -62496,7 +62500,7 @@ function Z3(t) {
62496
62500
  */
62497
62501
  function(t) {
62498
62502
  t.processBMP = function(e, n, r, s) {
62499
- var i = new pi(e, !1), o = i.width, a = i.height, d = { data: i.getData(), width: o, height: a }, l = new ov(100).encode(d, 100);
62503
+ var i = new hi(e, !1), o = i.width, a = i.height, d = { data: i.getData(), width: o, height: a }, l = new ov(100).encode(d, 100);
62500
62504
  return t.processJPEG.call(this, l, n, r, s);
62501
62505
  };
62502
62506
  }(gt.API), Z3.prototype.getData = function() {
@@ -62671,7 +62675,7 @@ function(t) {
62671
62675
  */
62672
62676
  function(t) {
62673
62677
  function e() {
62674
- return (mt.canvg ? Promise.resolve(mt.canvg) : import("./index.es-23fdb943.js")).catch(function(n) {
62678
+ return (mt.canvg ? Promise.resolve(mt.canvg) : import("./index.es-8a607058.js")).catch(function(n) {
62675
62679
  return Promise.reject(new Error("Could not load canvg: " + n));
62676
62680
  }).then(function(n) {
62677
62681
  return n.default ? n.default : n;
@@ -63872,7 +63876,7 @@ const BW = (t, e, n, r, s) => ({
63872
63876
  },
63873
63877
  srcDpaId: t
63874
63878
  });
63875
- var LE = /* @__PURE__ */ ((t) => (t.CARD_PAYMENT = "card_payment", t.TRANSFER_PAYMENT = "transfer_payment", t))(LE || {}), il = /* @__PURE__ */ ((t) => (t.DINAMIC_QR = "dynamic_qr", t.WEB_CHECKOUT = "web_checkout", t.PAYMENT_LINK = "payment_link", t.STATIC_QR = "static_qr", t.ECOMMERCE = "ecommerce", t))(il || {}), vi = /* @__PURE__ */ ((t) => (t.PENDING = "PENDING", t.PROCESSING = "PROCESSING", t.EXPIRED = "EXPIRED", t.PROCESSED = "PROCESSED", t.FAILURE_PROCESSED = "FAILURE_PROCESSED", t.SUCCESS_PROCESSED = "SUCCESS_PROCESSED", t.BLOCKED = "BLOCKED", t.APPROVED = "APPROVED", t.REJECTED = "REJECTED", t.ON_REVIEW = "ON_REVIEW", t.CANCELLED = "CANCELLED", t.DISABLED = "DISABLED", t))(vi || {});
63879
+ var LE = /* @__PURE__ */ ((t) => (t.CARD_PAYMENT = "card_payment", t.TRANSFER_PAYMENT = "transfer_payment", t))(LE || {}), il = /* @__PURE__ */ ((t) => (t.DINAMIC_QR = "dynamic_qr", t.WEB_CHECKOUT = "web_checkout", t.PAYMENT_LINK = "payment_link", t.STATIC_QR = "static_qr", t.ECOMMERCE = "ecommerce", t))(il || {}), bi = /* @__PURE__ */ ((t) => (t.PENDING = "PENDING", t.PROCESSING = "PROCESSING", t.EXPIRED = "EXPIRED", t.PROCESSED = "PROCESSED", t.FAILURE_PROCESSED = "FAILURE_PROCESSED", t.SUCCESS_PROCESSED = "SUCCESS_PROCESSED", t.BLOCKED = "BLOCKED", t.APPROVED = "APPROVED", t.REJECTED = "REJECTED", t.ON_REVIEW = "ON_REVIEW", t.CANCELLED = "CANCELLED", t.DISABLED = "DISABLED", t))(bi || {});
63876
63880
  const eC = "Plan Z", EW = "Plan Z", kW = "Cuota Simple", SW = "Sin Interés";
63877
63881
  var pt = /* @__PURE__ */ ((t) => (t.LOADING = "c2p-modal", t.C2P_HOME = "app-home-c2p", t.HEADER = "click2pay-header", t.CARD_FORM = "c2p-card-form", t.LEARN_MORE = "click2pay-learn-more", t.OTP_CHANNEL = "click2pay-otp-channel-selection", t.OTP_INPUT = "click2pay-otp-input", t.HOLDER_FORM = "c2p-holder-form", t.PLANS = "c2p-plans", t.SUMMARY = "c2p-summary", t.STATUS = "c2p-status", t.QR = "click2pay-qr-component", t.C2P_INPUT = "c2p-input", t.DRAWER = "drawer-component", t.CARD_LIST = "click2pay-card-list", t.INVOICE = "c2p-invoice", t))(pt || {});
63878
63882
  const tC = {
@@ -64097,16 +64101,16 @@ const tC = {
64097
64101
  })
64098
64102
  ]
64099
64103
  }, $b = (t) => gh.messages.find(
64100
- (n) => n.status === vi.FAILURE_PROCESSED && n.status_reason && n.status_reason.includes(t)
64104
+ (n) => n.status === bi.FAILURE_PROCESSED && n.status_reason && n.status_reason.includes(t)
64101
64105
  ) || Zb, Df = (t) => gh.messages.find(
64102
64106
  (n) => {
64103
64107
  var r;
64104
- return n.status === vi.SUCCESS_PROCESSED && t === il.ECOMMERCE ? (r = n.name) == null ? void 0 : r.includes("-external") : void 0;
64108
+ return n.status === bi.SUCCESS_PROCESSED && t === il.ECOMMERCE ? (r = n.name) == null ? void 0 : r.includes("-external") : void 0;
64105
64109
  }
64106
64110
  ) || Jb, e2 = (t) => gh.messages.find(
64107
64111
  (n) => {
64108
64112
  var r;
64109
- return n.status === vi.BLOCKED && t === il.ECOMMERCE ? (r = n.name) == null ? void 0 : r.includes("-external") : void 0;
64113
+ return n.status === bi.BLOCKED && t === il.ECOMMERCE ? (r = n.name) == null ? void 0 : r.includes("-external") : void 0;
64110
64114
  }
64111
64115
  ) || Xb;
64112
64116
  var IW = Object.defineProperty, TW = Object.getOwnPropertyDescriptor, Wn = (t, e, n, r) => {
@@ -64447,7 +64451,7 @@ class Hd extends String {
64447
64451
  return e === "string" ? this.formatted : this;
64448
64452
  }
64449
64453
  }
64450
- const OW = (t) => ({ validate: (e) => /^[a-zA-ZáéíóúüñÑ\s]+$/.test(e), errorMessage: t }), NW = (t) => ({ validate: (e) => !/^\s+$/.test(e), errorMessage: t }), yi = (t) => ({
64454
+ const OW = (t) => ({ validate: (e) => /^[a-zA-ZáéíóúüñÑ\s]+$/.test(e), errorMessage: t }), NW = (t) => ({ validate: (e) => !/^\s+$/.test(e), errorMessage: t }), vi = (t) => ({
64451
64455
  validate: (e) => e.trim() !== "",
64452
64456
  errorMessage: t
64453
64457
  }), LW = (t = "Revisá el email, está incompleto.") => ({
@@ -64588,8 +64592,8 @@ let Gr = class extends qe {
64588
64592
  var t;
64589
64593
  ae.info("app-home::webSocket");
64590
64594
  try {
64591
- const e = yield Ut.connect(this._stateC2p.statePaymentRequest.id);
64592
- if (this._stateC2p.isActiveWs = Ut.wsIsRunning(), e.status === "WS_DISCONNECTED") {
64595
+ const e = yield Bt.connect(this._stateC2p.statePaymentRequest.id);
64596
+ if (this._stateC2p.isActiveWs = Bt.wsIsRunning(), e.status === "WS_DISCONNECTED") {
64593
64597
  this._statusMessage = "WS_DISCONNECTED", this._isShowCardPayment = !1, this._updateCustomerProperties(pt.STATUS);
64594
64598
  return;
64595
64599
  }
@@ -64600,7 +64604,7 @@ let Gr = class extends qe {
64600
64604
  let e = gh.messages.find((n) => n.status === this._statusMessage);
64601
64605
  if (this._isShowCardPayment = this._statusMessage === "WEB_SOCKET_ERROR", this._statusMessage !== "WS_DISCONNECTED") {
64602
64606
  const n = this._stateC2p.statePaymentRequest, r = n.transactions[0].auth_data.code;
64603
- n.status === vi.FAILURE_PROCESSED && ((t = n.transactions[0].auth_data) != null && t.code) && (e = $b(r), nt(e.status, r), _s(n) && (e = $b(`rejected${ah(n)}`), nt(e.status, r))), n.status === vi.SUCCESS_PROCESSED && (e = Df(n.payment_type), nt(e.status, "")), n.status === vi.BLOCKED && (e = e2(n.payment_type), nt(e.status, r));
64607
+ n.status === bi.FAILURE_PROCESSED && ((t = n.transactions[0].auth_data) != null && t.code) && (e = $b(r), nt(e.status, r), _s(n) && (e = $b(`rejected${ah(n)}`), nt(e.status, r))), n.status === bi.SUCCESS_PROCESSED && (e = Df(n.payment_type), nt(e.status, "")), n.status === bi.BLOCKED && (e = e2(n.payment_type), nt(e.status, r));
64604
64608
  }
64605
64609
  e && (this._stateStatus.title = e.title, this._stateStatus.subtitle = e.subtitle, this._stateStatus.icon = e.icon, this._stateStatus.status = e.status, this._stateStatus.name = e.name, this._stateStatus.returnButton = e.returnButton, this._stateStatus.nameReturnButton = e.nameReturnButton), this._stateC2p.page = pt.STATUS, this.requestUpdate(), this._stateC2p.isActiveWs = !1;
64606
64610
  }
@@ -64608,26 +64612,26 @@ let Gr = class extends qe {
64608
64612
  }
64609
64613
  setDurationPayment(t) {
64610
64614
  var e;
64611
- Ut.getStartPaymentTime() && (ae.info("paymentDuration", {
64615
+ Bt.getStartPaymentTime() && (ae.info("paymentDuration", {
64612
64616
  context: xe.CLICK_TO_PAY,
64613
64617
  origin_sdk: av,
64614
64618
  tag: "PAYMENT_DURATION",
64615
64619
  is_embedded: this._payfacContext.isEmbedded,
64616
64620
  contextObject: {
64617
- duration_context: Ut.endPayment(),
64621
+ duration_context: Bt.endPayment(),
64618
64622
  payment_request_id: (e = this._stateC2p.statePaymentRequest) == null ? void 0 : e.id,
64619
64623
  payment_request_status: this._statusMessage,
64620
64624
  card_name: t.transactions[0].payment_method.name,
64621
64625
  card_type: t.transactions[0].payment_method.card_type,
64622
64626
  payment_type: t.payment_type
64623
64627
  }
64624
- }), Ut.setEndPaymentTime());
64628
+ }), Bt.setEndPaymentTime());
64625
64629
  }
64626
64630
  getPaymentRequestAndRedirectToStatus() {
64627
64631
  return ce(this, null, function* () {
64628
64632
  try {
64629
64633
  ae.info("app-home::getPaymentRequestAndRedirectToStatus");
64630
- const t = yield xi(this._stateC2p.statePaymentRequest.id);
64634
+ const t = yield Ci(this._stateC2p.statePaymentRequest.id);
64631
64635
  this.setDurationPayment(t.response), this._stateC2p.statePaymentRequest = t.response, this._statusMessage = t.response.status;
64632
64636
  } catch (t) {
64633
64637
  ae.error(
@@ -64755,7 +64759,7 @@ let Pi = class extends qe {
64755
64759
  this._startPolling(), this.createEvent("button-pushed", pt.QR), this.isLoading = !1, this.showQr = !0;
64756
64760
  }
64757
64761
  _startPolling() {
64758
- !Ut.wsIsRunning() && !pn.isPollingRunning() ? pn.startPolling(this._stateC2P.statePaymentRequest.id, this._payfacContext.context) : pn.isPollingRunning() && pn.extendTime();
64762
+ !Bt.wsIsRunning() && !pn.isPollingRunning() ? pn.startPolling(this._stateC2P.statePaymentRequest.id, this._payfacContext.context) : pn.isPollingRunning() && pn.extendTime();
64759
64763
  }
64760
64764
  _toggleShowPersonalDataForm() {
64761
64765
  const t = this._stateC2P.digitalCards.length > 0 ? pt.CARD_LIST : pt.HOLDER_FORM;
@@ -64928,16 +64932,16 @@ let ji = class extends fo {
64928
64932
  }, e = [
64929
64933
  {
64930
64934
  inputName: "creditNumber",
64931
- rules: [Gp(), yi("Tenés que completar el número de tarjeta."), t]
64935
+ rules: [Gp(), vi("Tenés que completar el número de tarjeta."), t]
64932
64936
  },
64933
64937
  {
64934
64938
  inputName: "dateExpired",
64935
- rules: [yi("Tenés que completar el vencimiento."), zE(), HE(), qE()]
64939
+ rules: [vi("Tenés que completar el vencimiento."), zE(), HE(), qE()]
64936
64940
  },
64937
64941
  {
64938
64942
  inputName: "cvc",
64939
64943
  rules: [
64940
- yi("Tenés que completar el código."),
64944
+ vi("Tenés que completar el código."),
64941
64945
  pA(3, "Revisá el código."),
64942
64946
  hA(4, "Debe contener 4 números máximo"),
64943
64947
  Gp()
@@ -65322,9 +65326,9 @@ let ln = class t extends qe {
65322
65326
  }
65323
65327
  _setTimer(e) {
65324
65328
  Zm(e).then(() => ce(this, null, function* () {
65325
- const r = (yield xi(this._c2pState.statePaymentRequest.id)).response;
65329
+ const r = (yield Ci(this._c2pState.statePaymentRequest.id)).response;
65326
65330
  let s = null;
65327
- r.status === vi.SUCCESS_PROCESSED && (s = Df(il.ECOMMERCE)), r.status === vi.FAILURE_PROCESSED && (s = $b(il.ECOMMERCE)), r.status === vi.BLOCKED && (s = e2(r.payment_type)), s || (s = Zb), this._stateStatus.title = s.title, this._stateStatus.subtitle = s.subtitle, this._stateStatus.icon = s.icon, this._stateStatus.status = s.status, this._stateStatus.name = s.name, this._stateStatus.returnButton = s.returnButton, this._stateStatus.nameReturnButton = s.nameReturnButton, this._c2pState.isActiveWs = !1, this._c2pState.isExtendedWs = !1, this.createEvent("button-pushed", pt.STATUS);
65331
+ r.status === bi.SUCCESS_PROCESSED && (s = Df(il.ECOMMERCE)), r.status === bi.FAILURE_PROCESSED && (s = $b(il.ECOMMERCE)), r.status === bi.BLOCKED && (s = e2(r.payment_type)), s || (s = Zb), this._stateStatus.title = s.title, this._stateStatus.subtitle = s.subtitle, this._stateStatus.icon = s.icon, this._stateStatus.status = s.status, this._stateStatus.name = s.name, this._stateStatus.returnButton = s.returnButton, this._stateStatus.nameReturnButton = s.nameReturnButton, this._c2pState.isActiveWs = !1, this._c2pState.isExtendedWs = !1, this.createEvent("button-pushed", pt.STATUS);
65328
65332
  }));
65329
65333
  }
65330
65334
  _triggerCheckoutTask() {
@@ -65526,8 +65530,8 @@ let ln = class t extends qe {
65526
65530
  extendedWs() {
65527
65531
  return ce(this, null, function* () {
65528
65532
  try {
65529
- const e = yield xi(this._c2pState.statePaymentRequest.id);
65530
- if (this._c2pState.statePaymentRequest = e.response, e.response.status === vi.SUCCESS_PROCESSED) {
65533
+ const e = yield Ci(this._c2pState.statePaymentRequest.id);
65534
+ if (this._c2pState.statePaymentRequest = e.response, e.response.status === bi.SUCCESS_PROCESSED) {
65531
65535
  const n = Df(e.response.payment_type);
65532
65536
  nt(n.status, ""), n && (this._stateStatus.title = n.title, this._stateStatus.subtitle = n.subtitle, this._stateStatus.icon = n.icon, this._stateStatus.status = n.status, this._stateStatus.name = n.name, this._stateStatus.returnButton = n.returnButton, this._stateStatus.nameReturnButton = n.nameReturnButton, this._c2pState.isActiveWs = !1, this._c2pState.isExtendedWs = !1, ae.info("click2pay-modal::status::extendedWs -> CLICK_TO_PAY_PAGES.STATUS"), this.createEvent("button-pushed", pt.STATUS));
65533
65537
  return;
@@ -66066,13 +66070,13 @@ var yY = Object.defineProperty, vY = Object.getOwnPropertyDescriptor, Eo = (t, e
66066
66070
  return r && s && yY(e, n, s), s;
66067
66071
  };
66068
66072
  const lv = "c2p-holder-form";
66069
- let Js = class t extends fo {
66073
+ let Xs = class t extends fo {
66070
66074
  constructor() {
66071
66075
  const e = [
66072
66076
  {
66073
66077
  inputName: "fullName",
66074
66078
  rules: [
66075
- yi("Tenés que completar el nombre y apellido."),
66079
+ vi("Tenés que completar el nombre y apellido."),
66076
66080
  pA(2, "El nombre debe tener al menos 2 caracteres."),
66077
66081
  hA(30, "El nombre no puede tener más de 30 caracteres."),
66078
66082
  OW("El nombre solo puede contener letras y espacios."),
@@ -66081,13 +66085,13 @@ let Js = class t extends fo {
66081
66085
  },
66082
66086
  {
66083
66087
  inputName: "email",
66084
- rules: [yi("Tenés que completar el mail."), LW()]
66088
+ rules: [vi("Tenés que completar el mail."), LW()]
66085
66089
  },
66086
66090
  {
66087
66091
  inputName: "docNumber",
66088
66092
  rules: [
66089
66093
  Gp(),
66090
- yi("Tenés que completar el número."),
66094
+ vi("Tenés que completar el número."),
66091
66095
  pA(6, "Revisá el número, está incompleto.", !0),
66092
66096
  hA(9, "Revisá el número, está incompleto.", !0)
66093
66097
  ]
@@ -66196,12 +66200,12 @@ let Js = class t extends fo {
66196
66200
  this._isDni = n.value === "DNI";
66197
66201
  const r = this.rules.find((s) => s.inputName === "docNumber");
66198
66202
  r && (r.rules = this._isDni ? [
66199
- yi("Tenés que completar el número."),
66203
+ vi("Tenés que completar el número."),
66200
66204
  QW(),
66201
66205
  pA(6, "Revisá el número, está incompleto.", !0),
66202
66206
  hA(9, "Revisá el número, está incompleto.", !0)
66203
66207
  ] : [
66204
- yi("El pasaporte es obligatorio"),
66208
+ vi("El pasaporte es obligatorio"),
66205
66209
  pA(6, "Revisá el número, está incompleto."),
66206
66210
  hA(20, "Revisá el número, está incompleto.")
66207
66211
  ]);
@@ -66294,42 +66298,42 @@ let Js = class t extends fo {
66294
66298
  `;
66295
66299
  }
66296
66300
  };
66297
- Js.styles = Xe`
66301
+ Xs.styles = Xe`
66298
66302
  ${Je(m0)}
66299
66303
  `;
66300
66304
  Eo([
66301
66305
  T({ type: Boolean })
66302
- ], Js.prototype, "isLoading", 2);
66306
+ ], Xs.prototype, "isLoading", 2);
66303
66307
  Eo([
66304
66308
  le()
66305
- ], Js.prototype, "_cards", 2);
66309
+ ], Xs.prototype, "_cards", 2);
66306
66310
  Eo([
66307
66311
  le()
66308
- ], Js.prototype, "_otpValidationChannel", 2);
66312
+ ], Xs.prototype, "_otpValidationChannel", 2);
66309
66313
  Eo([
66310
66314
  le()
66311
- ], Js.prototype, "_userRecognized", 2);
66315
+ ], Xs.prototype, "_userRecognized", 2);
66312
66316
  Eo([
66313
66317
  le()
66314
- ], Js.prototype, "_isDni", 2);
66318
+ ], Xs.prototype, "_isDni", 2);
66315
66319
  Eo([
66316
66320
  le()
66317
- ], Js.prototype, "formData", 2);
66321
+ ], Xs.prototype, "formData", 2);
66318
66322
  Eo([
66319
66323
  Ue({ context: ds, subscribe: !0 }),
66320
66324
  le()
66321
- ], Js.prototype, "_stateC2P", 2);
66325
+ ], Xs.prototype, "_stateC2P", 2);
66322
66326
  Eo([
66323
66327
  Ue({ context: QE, subscribe: !0 }),
66324
66328
  le()
66325
- ], Js.prototype, "_stateHolderC2p", 2);
66329
+ ], Xs.prototype, "_stateHolderC2p", 2);
66326
66330
  Eo([
66327
66331
  Ue({ context: Co }),
66328
66332
  le()
66329
- ], Js.prototype, "_stateC2PProps", 2);
66330
- Js = Eo([
66333
+ ], Xs.prototype, "_stateC2PProps", 2);
66334
+ Xs = Eo([
66331
66335
  He("c2p-holder-form")
66332
- ], Js);
66336
+ ], Xs);
66333
66337
  var bY = Object.defineProperty, wY = Object.getOwnPropertyDescriptor, ac = (t, e, n, r) => {
66334
66338
  for (var s = r > 1 ? void 0 : r ? wY(e, n) : e, i = t.length - 1, o; i >= 0; i--)
66335
66339
  (o = t[i]) && (s = (r ? o(e, n, s) : o(s)) || s);
@@ -66765,7 +66769,7 @@ let On = class t extends qe {
66765
66769
  return ce(this, null, function* () {
66766
66770
  var e;
66767
66771
  try {
66768
- Ut.extendHeartbeat(this._stateC2P.statePaymentRequest.id), ae.info("status::extendHeartBeat"), this._stateC2P.isExtendedWs = !0, this._stateStatus.isStart = !1, this.createEvent("button-pushed", pt.LOADING), ae.info("extendHeartBeat", {
66772
+ Bt.extendHeartbeat(this._stateC2P.statePaymentRequest.id), ae.info("status::extendHeartBeat"), this._stateC2P.isExtendedWs = !0, this._stateStatus.isStart = !1, this.createEvent("button-pushed", pt.LOADING), ae.info("extendHeartBeat", {
66769
66773
  context: xe.CLICK_TO_PAY,
66770
66774
  origin_sdk: aC,
66771
66775
  tag: "EXTEND_HEART_BEAT",
@@ -67059,7 +67063,7 @@ aa = lc([
67059
67063
  ], aa);
67060
67064
  const kY = `@import"normalize.css";form{margin:inherit}.clickeable{cursor:pointer}.clickeable{display:block;transition:transform .3s ease}.clickeable:hover{transform:translate(3px)}.hidden{display:none}.skeleton-card{background-color:#d0d4d7;animation:skeleton-loading 1s linear infinite alternate;width:100%;height:43px;border-radius:8px}.skeleton{display:flex;align-items:center;justify-content:space-between;background-color:#d0d4d7;animation:skeleton-loading 1s linear infinite alternate;width:100%;height:60px;border-radius:8px;gap:16px;margin-bottom:16px}.skeleton .input{width:12px;height:10px;border-radius:8px;background-color:#c2cfd6;margin-left:10px}.skeleton .img{width:45px;height:36px;border-radius:50%;background-color:#c2cfd6}.skeleton .details{width:100%;height:auto;border-radius:8px;display:flex;flex-direction:column;gap:6px}.skeleton .text{width:200px;height:14px;border-radius:8px;background-color:#c2cfd6;margin:0}@keyframes skeleton-loading{0%{background-color:#c2cfd6}to{background-color:#f0f3f5}}:host .card_list{display:flex;flex-direction:column;background-color:#fff;position:relative;border-radius:12px}:host .card_list .card_list_input_extension{display:flex;flex-direction:column;text-align:right;padding:20px;width:-webkit-fill-available}:host .card_list .card_list_input_extension .credit-info{display:flex;align-items:center;text-align:left}:host .card_list .card_list_input_extension .credit-info click2pay-card-input{flex:1}:host .card_list .card_list_input_extension .credit-info .credit-number{flex:1}:host .card_list .card_list_input_extension .credit-info tooltip-image,:host .card_list .card_list_input_extension .credit-info img{margin-top:20px;margin-left:20px;align-self:flex-start}@media only screen and (max-width: 375px){:host .card_list .card_list_input_extension .credit-info tooltip-image,:host .card_list .card_list_input_extension .credit-info img{margin-left:10px}}:host .card_list .card_list_input_extension .panel-id-selection{display:flex;gap:15px}:host .card_list .card_list_input_extension .panel-id-selection>*{flex:1;max-width:100%;text-align:left}:host .card_list .button-container{display:flex;justify-content:space-between;text-align:right}@media only screen and (max-width: 800px){:host .card_list .button-container{flex-direction:column-reverse;width:100%;text-align:center;gap:16px}}@media only screen and (max-width: 800px){:host .card_list{margin-left:8px;margin-right:8px;margin-bottom:30px}}:host .panel-container{padding:16px 24px;background:#ffffff;border-radius:16px}@media only screen and (max-width: 800px){:host .panel-container{border-radius:16px;padding:24px;margin-bottom:40px}}:host .cvv{width:100%}
67061
67065
  `;
67062
- var SY = Object.defineProperty, IY = Object.getOwnPropertyDescriptor, Zs = (t, e, n, r) => {
67066
+ var SY = Object.defineProperty, IY = Object.getOwnPropertyDescriptor, $s = (t, e, n, r) => {
67063
67067
  for (var s = r > 1 ? void 0 : r ? IY(e, n) : e, i = t.length - 1, o; i >= 0; i--)
67064
67068
  (o = t[i]) && (s = (r ? o(e, n, s) : o(s)) || s);
67065
67069
  return r && s && SY(e, n, s), s;
@@ -67077,16 +67081,16 @@ let as = class t extends fo {
67077
67081
  }, n = [
67078
67082
  {
67079
67083
  inputName: "creditNumber",
67080
- rules: [Gp(), yi("Tenés que completar el número de la tarjeta."), e]
67084
+ rules: [Gp(), vi("Tenés que completar el número de la tarjeta."), e]
67081
67085
  },
67082
67086
  {
67083
67087
  inputName: "dateExpired",
67084
- rules: [yi("Tenés que completar el vencimiento."), zE(), HE(), qE()]
67088
+ rules: [vi("Tenés que completar el vencimiento."), zE(), HE(), qE()]
67085
67089
  },
67086
67090
  {
67087
67091
  inputName: "cvc",
67088
67092
  rules: [
67089
- yi("Tenés que completar el código."),
67093
+ vi("Tenés que completar el código."),
67090
67094
  pA(3, "Revisá el código."),
67091
67095
  hA(4, "Debe contener 4 números máximo"),
67092
67096
  Gp()
@@ -67328,42 +67332,42 @@ let as = class t extends fo {
67328
67332
  as.styles = Xe`
67329
67333
  ${Je(kY)}
67330
67334
  `;
67331
- Zs([
67335
+ $s([
67332
67336
  le()
67333
67337
  ], as.prototype, "_digitalCardData", 2);
67334
- Zs([
67338
+ $s([
67335
67339
  le()
67336
67340
  ], as.prototype, "_icon", 2);
67337
- Zs([
67341
+ $s([
67338
67342
  le()
67339
67343
  ], as.prototype, "_srcDigitalCardId", 2);
67340
- Zs([
67344
+ $s([
67341
67345
  le()
67342
67346
  ], as.prototype, "_showCardForm", 2);
67343
- Zs([
67347
+ $s([
67344
67348
  le()
67345
67349
  ], as.prototype, "_shouldAddCard", 2);
67346
- Zs([
67350
+ $s([
67347
67351
  le()
67348
67352
  ], as.prototype, "_cardBrand", 2);
67349
- Zs([
67353
+ $s([
67350
67354
  le()
67351
67355
  ], as.prototype, "_cardType", 2);
67352
- Zs([
67356
+ $s([
67353
67357
  le()
67354
67358
  ], as.prototype, "_creditInput", 2);
67355
- Zs([
67359
+ $s([
67356
67360
  Ue({ context: ds, subscribe: !0 }),
67357
67361
  le()
67358
67362
  ], as.prototype, "_stateC2P", 2);
67359
- Zs([
67363
+ $s([
67360
67364
  Ue({ context: Co, subscribe: !0 }),
67361
67365
  le()
67362
67366
  ], as.prototype, "_c2Props", 2);
67363
- Zs([
67367
+ $s([
67364
67368
  le()
67365
67369
  ], as.prototype, "formData", 2);
67366
- as = Zs([
67370
+ as = $s([
67367
67371
  He("click2pay-card-list")
67368
67372
  ], as);
67369
67373
  const oX = {
@@ -67918,7 +67922,7 @@ let Fi = class extends qe {
67918
67922
  this.isShowToast = !1;
67919
67923
  }, 3e3);
67920
67924
  }), (e = this.shadowRoot) == null || e.addEventListener("button-pushed", (n) => {
67921
- this.isShowCardPayment = !0, this.state.page = n.detail ? n.detail : dt.MAIN, (n.detail === dt.QR || n.detail === dt.STATUS || n.detail === dt.LOADING || n.detail === dt.PCP_LIST || n.detail === dt.PANEL_ASSOCIATION || n.detail === dt.ASSOCIATION_PROCESS) && (this.isShowCardPayment = !1), n.detail === dt.MAIN && (this.state.isActiveWs || this.webSocket(), !this.state.isActiveInstallment && !this.state.isCardPresent && this.getinstallment()), this.requestUpdate(), this.routerState(), this.state.statePaymentRequest && ae.info("connectedCallback", {
67925
+ this.isShowCardPayment = !0, this.state.page = n.detail ? n.detail : dt.MAIN, (n.detail === dt.QR || n.detail === dt.STATUS || n.detail === dt.LOADING || n.detail === dt.PCP_LIST || n.detail === dt.PANEL_ASSOCIATION || n.detail === dt.ASSOCIATION_PROCESS) && (this.isShowCardPayment = !1), n.detail === dt.MAIN && (this.state.isActiveWs || (this.webSocket(), Bt.extendHeartbeat(this.state.statePaymentRequest.id)), !this.state.isActiveInstallment && !this.state.isCardPresent && this.getinstallment()), this.requestUpdate(), this.routerState(), this.state.statePaymentRequest && ae.info("connectedCallback", {
67922
67926
  context: xe.ACCOUNT_TO_ACCOUNT,
67923
67927
  tag: "APP_HOME_PAGES",
67924
67928
  is_embedded: this.payfacContext.isEmbedded,
@@ -67995,7 +67999,7 @@ let Fi = class extends qe {
67995
67999
  var t;
67996
68000
  this.state.isActiveWs = !0;
67997
68001
  try {
67998
- if ((yield Ut.connect(this.state.statePaymentRequest.id)).status === "WS_DISCONNECTED") {
68002
+ if ((yield Bt.connect(this.state.statePaymentRequest.id)).status === "WS_DISCONNECTED") {
67999
68003
  this.statusMessage = "WS_DISCONNECTED", this.isShowCardPayment = !1, this.payfacContext.window && !this.payfacContext.window.closed && this.payfacContext.window.close();
68000
68004
  const n = document.querySelector("confirmation-modal");
68001
68005
  n == null || n.remove();
@@ -68018,7 +68022,7 @@ let Fi = class extends qe {
68018
68022
  return ce(this, null, function* () {
68019
68023
  var t, e;
68020
68024
  try {
68021
- const n = yield xi(this.state.statePaymentRequest.id);
68025
+ const n = yield Ci(this.state.statePaymentRequest.id);
68022
68026
  this.state.statePaymentRequest = n.response, this.statusMessage = n.response.status, ae.info("getPaymentRequestRedirectStatus", {
68023
68027
  context: xe.ACCOUNT_TO_ACCOUNT,
68024
68028
  origin_sdk: Ad,
@@ -68982,7 +68986,7 @@ let Dr = class t extends qe {
68982
68986
  extendHeartBeat() {
68983
68987
  return ce(this, null, function* () {
68984
68988
  try {
68985
- Ut.extendHeartbeat(this.state.statePaymentRequest.id), this.state.isExtendedWs = !0, this.createEvent("button-pushed", dt.LOADING);
68989
+ Bt.extendHeartbeat(this.state.statePaymentRequest.id), this.state.isExtendedWs = !0, this.createEvent("button-pushed", dt.LOADING);
68986
68990
  } catch (e) {
68987
68991
  console.error(e), nt("EXTEND_HEART_BEAT_ERROR", "Extend heart beat failed.");
68988
68992
  }
@@ -69373,7 +69377,7 @@ let mo = class t extends qe {
69373
69377
  extendedWs() {
69374
69378
  return ce(this, null, function* () {
69375
69379
  try {
69376
- const e = yield xi(this.state.statePaymentRequest.id);
69380
+ const e = yield Ci(this.state.statePaymentRequest.id);
69377
69381
  if (this.state.statePaymentRequest = e.response, e.response.status === Vn.SUCCESS_PROCESSED) {
69378
69382
  let n = vn.messages.find((r) => r.status === e.response.status);
69379
69383
  n = Ld(e.response.payment_type), nt(n.status, ""), n && (this.status.title = n.title, this.status.subtitle = n.subtitle, this.status.icon = n.icon, this.status.status = n.status, this.status.name = n.name, this.status.returnButton = n.returnButton, this.status.nameReturnButton = n.nameReturnButton, this.state.isActiveWs = !1, this.state.isExtendedWs = !1, this.createEvent("button-pushed", dt.STATUS));
@@ -70770,7 +70774,7 @@ Dm = XE([
70770
70774
  export {
70771
70775
  xl as $,
70772
70776
  Md as A,
70773
- Ws as B,
70777
+ Ys as B,
70774
70778
  Rd as C,
70775
70779
  Ei as D,
70776
70780
  ea as E,
@@ -70798,7 +70802,7 @@ export {
70798
70802
  $t as _,
70799
70803
  Bi as a,
70800
70804
  Um as a0,
70801
- Js as a1,
70805
+ Xs as a1,
70802
70806
  oa as a2,
70803
70807
  On as a3,
70804
70808
  aa as a4,
@@ -70824,7 +70828,7 @@ export {
70824
70828
  Gd as ao,
70825
70829
  Dm as ap,
70826
70830
  fl as b,
70827
- wi as c,
70831
+ _i as c,
70828
70832
  ml as d,
70829
70833
  pm as e,
70830
70834
  Ao as f,