@zyzgroup/core-web 0.0.46 → 0.0.48

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.
@@ -503,10 +503,10 @@ const q6 = (r) => {
503
503
  isAsyncFn: Y6,
504
504
  isThenable: X6
505
505
  };
506
- function nt(r, e, t, i, s) {
506
+ function ot(r, e, t, i, s) {
507
507
  Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = r, this.name = "AxiosError", e && (this.code = e), t && (this.config = t), i && (this.request = i), s && (this.response = s);
508
508
  }
509
- pe.inherits(nt, Error, {
509
+ pe.inherits(ot, Error, {
510
510
  toJSON: function() {
511
511
  return {
512
512
  // Standard
@@ -527,7 +527,7 @@ pe.inherits(nt, Error, {
527
527
  };
528
528
  }
529
529
  });
530
- const Bd = nt.prototype, Vd = {};
530
+ const Bd = ot.prototype, Vd = {};
531
531
  [
532
532
  "ERR_BAD_OPTION_VALUE",
533
533
  "ERR_BAD_OPTION",
@@ -545,13 +545,13 @@ const Bd = nt.prototype, Vd = {};
545
545
  ].forEach((r) => {
546
546
  Vd[r] = { value: r };
547
547
  });
548
- Object.defineProperties(nt, Vd);
548
+ Object.defineProperties(ot, Vd);
549
549
  Object.defineProperty(Bd, "isAxiosError", { value: !0 });
550
- nt.from = (r, e, t, i, s, a) => {
550
+ ot.from = (r, e, t, i, s, a) => {
551
551
  const n = Object.create(Bd);
552
552
  return pe.toFlatObject(r, n, function(o) {
553
553
  return o !== Error.prototype;
554
- }, (o) => o !== "isAxiosError"), nt.call(n, r.message, e, t, i, s), n.cause = r, n.name = r.name, a && Object.assign(n, a), n;
554
+ }, (o) => o !== "isAxiosError"), ot.call(n, r.message, e, t, i, s), n.cause = r, n.name = r.name, a && Object.assign(n, a), n;
555
555
  };
556
556
  const K6 = null;
557
557
  function Z0(r) {
@@ -590,7 +590,7 @@ function Dl(r, e, t) {
590
590
  if (pe.isDate(f))
591
591
  return f.toISOString();
592
592
  if (!o && pe.isBlob(f))
593
- throw new nt("Blob is not supported. Use a Buffer instead.");
593
+ throw new ot("Blob is not supported. Use a Buffer instead.");
594
594
  return pe.isArrayBuffer(f) || pe.isTypedArray(f) ? o && typeof Blob == "function" ? new Blob([f]) : Buffer.from(f) : f;
595
595
  }
596
596
  function h(f, p, g) {
@@ -828,7 +828,7 @@ const W1 = {
828
828
  return JSON.parse(r);
829
829
  } catch (a) {
830
830
  if (s)
831
- throw a.name === "SyntaxError" ? nt.from(a, nt.ERR_BAD_RESPONSE, this, null, this.response) : a;
831
+ throw a.name === "SyntaxError" ? ot.from(a, ot.ERR_BAD_RESPONSE, this, null, this.response) : a;
832
832
  }
833
833
  }
834
834
  return r;
@@ -1055,16 +1055,16 @@ function Kd(r) {
1055
1055
  return !!(r && r.__CANCEL__);
1056
1056
  }
1057
1057
  function po(r, e, t) {
1058
- nt.call(this, r ?? "canceled", nt.ERR_CANCELED, e, t), this.name = "CanceledError";
1058
+ ot.call(this, r ?? "canceled", ot.ERR_CANCELED, e, t), this.name = "CanceledError";
1059
1059
  }
1060
- pe.inherits(po, nt, {
1060
+ pe.inherits(po, ot, {
1061
1061
  __CANCEL__: !0
1062
1062
  });
1063
1063
  function gv(r, e, t) {
1064
1064
  const i = t.config.validateStatus;
1065
- !t.status || !i || i(t.status) ? r(t) : e(new nt(
1065
+ !t.status || !i || i(t.status) ? r(t) : e(new ot(
1066
1066
  "Request failed with status code " + t.status,
1067
- [nt.ERR_BAD_REQUEST, nt.ERR_BAD_RESPONSE][Math.floor(t.status / 100) - 4],
1067
+ [ot.ERR_BAD_REQUEST, ot.ERR_BAD_RESPONSE][Math.floor(t.status / 100) - 4],
1068
1068
  t.config,
1069
1069
  t.request,
1070
1070
  t
@@ -1219,15 +1219,15 @@ const Cv = typeof XMLHttpRequest < "u", wv = Cv && function(r) {
1219
1219
  if ("onloadend" in h ? h.onloadend = d : h.onreadystatechange = function() {
1220
1220
  !h || h.readyState !== 4 || h.status === 0 && !(h.responseURL && h.responseURL.indexOf("file:") === 0) || setTimeout(d);
1221
1221
  }, h.onabort = function() {
1222
- h && (t(new nt("Request aborted", nt.ECONNABORTED, r, h)), h = null);
1222
+ h && (t(new ot("Request aborted", ot.ECONNABORTED, r, h)), h = null);
1223
1223
  }, h.onerror = function() {
1224
- t(new nt("Network Error", nt.ERR_NETWORK, r, h)), h = null;
1224
+ t(new ot("Network Error", ot.ERR_NETWORK, r, h)), h = null;
1225
1225
  }, h.ontimeout = function() {
1226
1226
  let f = r.timeout ? "timeout of " + r.timeout + "ms exceeded" : "timeout exceeded";
1227
1227
  const p = r.transitional || Yd;
1228
- r.timeoutErrorMessage && (f = r.timeoutErrorMessage), t(new nt(
1228
+ r.timeoutErrorMessage && (f = r.timeoutErrorMessage), t(new ot(
1229
1229
  f,
1230
- p.clarifyTimeoutError ? nt.ETIMEDOUT : nt.ECONNABORTED,
1230
+ p.clarifyTimeoutError ? ot.ETIMEDOUT : ot.ECONNABORTED,
1231
1231
  r,
1232
1232
  h
1233
1233
  )), h = null;
@@ -1242,7 +1242,7 @@ const Cv = typeof XMLHttpRequest < "u", wv = Cv && function(r) {
1242
1242
  }, r.cancelToken && r.cancelToken.subscribe(n), r.signal && (r.signal.aborted ? n() : r.signal.addEventListener("abort", n)));
1243
1243
  const c = _v(u);
1244
1244
  if (c && vi.protocols.indexOf(c) === -1) {
1245
- t(new nt("Unsupported protocol " + c + ":", nt.ERR_BAD_REQUEST, r));
1245
+ t(new ot("Unsupported protocol " + c + ":", ot.ERR_BAD_REQUEST, r));
1246
1246
  return;
1247
1247
  }
1248
1248
  h.send(i || null);
@@ -1270,7 +1270,7 @@ const xu = (r) => `- ${r}`, Sv = (r) => pe.isFunction(r) || r === null || r ===
1270
1270
  t = r[a];
1271
1271
  let n;
1272
1272
  if (i = t, !Sv(t) && (i = J0[(n = String(t)).toLowerCase()], i === void 0))
1273
- throw new nt(`Unknown adapter '${n}'`);
1273
+ throw new ot(`Unknown adapter '${n}'`);
1274
1274
  if (i)
1275
1275
  break;
1276
1276
  s[n || "#" + a] = i;
@@ -1282,7 +1282,7 @@ const xu = (r) => `- ${r}`, Sv = (r) => pe.isFunction(r) || r === null || r ===
1282
1282
  let n = e ? a.length > 1 ? `since :
1283
1283
  ` + a.map(xu).join(`
1284
1284
  `) : " " + xu(a[0]) : "as no adapter specified";
1285
- throw new nt(
1285
+ throw new ot(
1286
1286
  "There is no suitable adapter to dispatch the request " + n,
1287
1287
  "ERR_NOT_SUPPORT"
1288
1288
  );
@@ -1392,9 +1392,9 @@ Y1.transitional = function(r, e, t) {
1392
1392
  }
1393
1393
  return (s, a, n) => {
1394
1394
  if (r === !1)
1395
- throw new nt(
1395
+ throw new ot(
1396
1396
  i(a, " has been removed" + (e ? " in " + e : "")),
1397
- nt.ERR_DEPRECATED
1397
+ ot.ERR_DEPRECATED
1398
1398
  );
1399
1399
  return e && !rf[a] && (rf[a] = !0, console.warn(
1400
1400
  i(
@@ -1406,7 +1406,7 @@ Y1.transitional = function(r, e, t) {
1406
1406
  };
1407
1407
  function zv(r, e, t) {
1408
1408
  if (typeof r != "object")
1409
- throw new nt("options must be an object", nt.ERR_BAD_OPTION_VALUE);
1409
+ throw new ot("options must be an object", ot.ERR_BAD_OPTION_VALUE);
1410
1410
  const i = Object.keys(r);
1411
1411
  let s = i.length;
1412
1412
  for (; s-- > 0; ) {
@@ -1414,11 +1414,11 @@ function zv(r, e, t) {
1414
1414
  if (n) {
1415
1415
  const o = r[a], l = o === void 0 || n(o, a, r);
1416
1416
  if (l !== !0)
1417
- throw new nt("option " + a + " must be " + l, nt.ERR_BAD_OPTION_VALUE);
1417
+ throw new ot("option " + a + " must be " + l, ot.ERR_BAD_OPTION_VALUE);
1418
1418
  continue;
1419
1419
  }
1420
1420
  if (t !== !0)
1421
- throw new nt("Unknown option " + a, nt.ERR_BAD_OPTION);
1421
+ throw new ot("Unknown option " + a, ot.ERR_BAD_OPTION);
1422
1422
  }
1423
1423
  }
1424
1424
  const Q0 = {
@@ -1689,7 +1689,7 @@ Zt.CancelToken = Pv;
1689
1689
  Zt.isCancel = Kd;
1690
1690
  Zt.VERSION = Qd;
1691
1691
  Zt.toFormData = Dl;
1692
- Zt.AxiosError = nt;
1692
+ Zt.AxiosError = ot;
1693
1693
  Zt.Cancel = Zt.CanceledError;
1694
1694
  Zt.all = function(r) {
1695
1695
  return Promise.all(r);
@@ -2404,21 +2404,21 @@ function Kv(r) {
2404
2404
  var ic = Number.isNaN || function(r) {
2405
2405
  return r !== r;
2406
2406
  };
2407
- function yt() {
2408
- yt.init.call(this);
2407
+ function _t() {
2408
+ _t.init.call(this);
2409
2409
  }
2410
- J1.exports = yt;
2410
+ J1.exports = _t;
2411
2411
  J1.exports.once = xv;
2412
- yt.EventEmitter = yt;
2413
- yt.prototype._events = void 0;
2414
- yt.prototype._eventsCount = 0;
2415
- yt.prototype._maxListeners = void 0;
2412
+ _t.EventEmitter = _t;
2413
+ _t.prototype._events = void 0;
2414
+ _t.prototype._eventsCount = 0;
2415
+ _t.prototype._maxListeners = void 0;
2416
2416
  var df = 10;
2417
2417
  function Ll(r) {
2418
2418
  if (typeof r != "function")
2419
2419
  throw new TypeError('The "listener" argument must be of type Function. Received type ' + typeof r);
2420
2420
  }
2421
- Object.defineProperty(yt, "defaultMaxListeners", {
2421
+ Object.defineProperty(_t, "defaultMaxListeners", {
2422
2422
  enumerable: !0,
2423
2423
  get: function() {
2424
2424
  return df;
@@ -2429,21 +2429,21 @@ Object.defineProperty(yt, "defaultMaxListeners", {
2429
2429
  df = r;
2430
2430
  }
2431
2431
  });
2432
- yt.init = function() {
2432
+ _t.init = function() {
2433
2433
  (this._events === void 0 || this._events === Object.getPrototypeOf(this)._events) && (this._events = /* @__PURE__ */ Object.create(null), this._eventsCount = 0), this._maxListeners = this._maxListeners || void 0;
2434
2434
  };
2435
- yt.prototype.setMaxListeners = function(r) {
2435
+ _t.prototype.setMaxListeners = function(r) {
2436
2436
  if (typeof r != "number" || r < 0 || ic(r))
2437
2437
  throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received ' + r + ".");
2438
2438
  return this._maxListeners = r, this;
2439
2439
  };
2440
2440
  function sc(r) {
2441
- return r._maxListeners === void 0 ? yt.defaultMaxListeners : r._maxListeners;
2441
+ return r._maxListeners === void 0 ? _t.defaultMaxListeners : r._maxListeners;
2442
2442
  }
2443
- yt.prototype.getMaxListeners = function() {
2443
+ _t.prototype.getMaxListeners = function() {
2444
2444
  return sc(this);
2445
2445
  };
2446
- yt.prototype.emit = function(r) {
2446
+ _t.prototype.emit = function(r) {
2447
2447
  for (var e = [], t = 1; t < arguments.length; t++)
2448
2448
  e.push(arguments[t]);
2449
2449
  var i = r === "error", s = this._events;
@@ -2483,11 +2483,11 @@ function ac(r, e, t, i) {
2483
2483
  }
2484
2484
  return r;
2485
2485
  }
2486
- yt.prototype.addListener = function(r, e) {
2486
+ _t.prototype.addListener = function(r, e) {
2487
2487
  return ac(this, r, e, !1);
2488
2488
  };
2489
- yt.prototype.on = yt.prototype.addListener;
2490
- yt.prototype.prependListener = function(r, e) {
2489
+ _t.prototype.on = _t.prototype.addListener;
2490
+ _t.prototype.prependListener = function(r, e) {
2491
2491
  return ac(this, r, e, !0);
2492
2492
  };
2493
2493
  function Zv() {
@@ -2498,13 +2498,13 @@ function nc(r, e, t) {
2498
2498
  var i = { fired: !1, wrapFn: void 0, target: r, type: e, listener: t }, s = Zv.bind(i);
2499
2499
  return s.listener = t, i.wrapFn = s, s;
2500
2500
  }
2501
- yt.prototype.once = function(r, e) {
2501
+ _t.prototype.once = function(r, e) {
2502
2502
  return Ll(e), this.on(r, nc(this, r, e)), this;
2503
2503
  };
2504
- yt.prototype.prependOnceListener = function(r, e) {
2504
+ _t.prototype.prependOnceListener = function(r, e) {
2505
2505
  return Ll(e), this.prependListener(r, nc(this, r, e)), this;
2506
2506
  };
2507
- yt.prototype.removeListener = function(r, e) {
2507
+ _t.prototype.removeListener = function(r, e) {
2508
2508
  var t, i, s, a, n;
2509
2509
  if (Ll(e), i = this._events, i === void 0)
2510
2510
  return this;
@@ -2524,8 +2524,8 @@ yt.prototype.removeListener = function(r, e) {
2524
2524
  }
2525
2525
  return this;
2526
2526
  };
2527
- yt.prototype.off = yt.prototype.removeListener;
2528
- yt.prototype.removeAllListeners = function(r) {
2527
+ _t.prototype.off = _t.prototype.removeListener;
2528
+ _t.prototype.removeAllListeners = function(r) {
2529
2529
  var e, t, i;
2530
2530
  if (t = this._events, t === void 0)
2531
2531
  return this;
@@ -2551,16 +2551,16 @@ function oc(r, e, t) {
2551
2551
  var s = i[e];
2552
2552
  return s === void 0 ? [] : typeof s == "function" ? t ? [s.listener || s] : [s] : t ? Qv(s) : hc(s, s.length);
2553
2553
  }
2554
- yt.prototype.listeners = function(r) {
2554
+ _t.prototype.listeners = function(r) {
2555
2555
  return oc(this, r, !0);
2556
2556
  };
2557
- yt.prototype.rawListeners = function(r) {
2557
+ _t.prototype.rawListeners = function(r) {
2558
2558
  return oc(this, r, !1);
2559
2559
  };
2560
- yt.listenerCount = function(r, e) {
2560
+ _t.listenerCount = function(r, e) {
2561
2561
  return typeof r.listenerCount == "function" ? r.listenerCount(e) : lc.call(r, e);
2562
2562
  };
2563
- yt.prototype.listenerCount = lc;
2563
+ _t.prototype.listenerCount = lc;
2564
2564
  function lc(r) {
2565
2565
  var e = this._events;
2566
2566
  if (e !== void 0) {
@@ -2572,7 +2572,7 @@ function lc(r) {
2572
2572
  }
2573
2573
  return 0;
2574
2574
  }
2575
- yt.prototype.eventNames = function() {
2575
+ _t.prototype.eventNames = function() {
2576
2576
  return this._eventsCount > 0 ? rl(this._events) : [];
2577
2577
  };
2578
2578
  function hc(r, e) {
@@ -3928,7 +3928,7 @@ var ih = {};
3928
3928
  const h3 = /* @__PURE__ */ zr(ih), u3 = /* @__PURE__ */ Pe({
3929
3929
  __proto__: null,
3930
3930
  default: h3
3931
- }, [ih]), ft = /* @__PURE__ */ ke(u3);
3931
+ }, [ih]), dt = /* @__PURE__ */ ke(u3);
3932
3932
  var sh = {};
3933
3933
  Object.defineProperty(sh, "__esModule", { value: !0 });
3934
3934
  const lr = Qe, f3 = {
@@ -3961,7 +3961,7 @@ const c3 = /* @__PURE__ */ Pe({
3961
3961
  }, [sh]), Wi = /* @__PURE__ */ ke(c3);
3962
3962
  (function(r) {
3963
3963
  Object.defineProperty(r, "__esModule", { value: !0 }), r.extendErrors = r.resetErrorsCount = r.reportExtraError = r.reportError = r.keyword$DataError = r.keywordError = void 0;
3964
- const e = Qe, t = ft, i = Wi;
3964
+ const e = Qe, t = dt, i = Wi;
3965
3965
  r.keywordError = {
3966
3966
  message: ({ keyword: y }) => (0, e.str)`must pass "${y}" keyword validation`
3967
3967
  }, r.keyword$DataError = {
@@ -4139,7 +4139,7 @@ const M3 = /* @__PURE__ */ Pe({
4139
4139
  }, [Gi]), wc = /* @__PURE__ */ ke(M3);
4140
4140
  (function(r) {
4141
4141
  Object.defineProperty(r, "__esModule", { value: !0 }), r.reportTypeError = r.checkDataTypes = r.checkDataType = r.coerceAndCheckDataType = r.getJSONTypes = r.getSchemaTypes = r.DataType = void 0;
4142
- const e = mc, t = wc, i = vo, s = Qe, a = ft;
4142
+ const e = mc, t = wc, i = vo, s = Qe, a = dt;
4143
4143
  var n;
4144
4144
  (function(m) {
4145
4145
  m[m.Correct = 0] = "Correct", m[m.Wrong = 1] = "Wrong";
@@ -4289,7 +4289,7 @@ const R3 = /* @__PURE__ */ zr(ah), O3 = /* @__PURE__ */ Pe({
4289
4289
  var un = {};
4290
4290
  Object.defineProperty(un, "__esModule", { value: !0 });
4291
4291
  var Sc = un.assignDefaults = void 0;
4292
- const ia = Qe, I3 = ft;
4292
+ const ia = Qe, I3 = dt;
4293
4293
  function $3(r, e) {
4294
4294
  const { properties: t, items: i } = r.schema;
4295
4295
  if (e === "object" && t)
@@ -4318,77 +4318,77 @@ const D3 = /* @__PURE__ */ Pe({
4318
4318
  },
4319
4319
  default: un
4320
4320
  }, [un]), N3 = /* @__PURE__ */ ke(D3);
4321
- var oi = {}, vt = {};
4322
- Object.defineProperty(vt, "__esModule", { value: !0 });
4323
- var zc = vt.validateUnion = Uc = vt.validateArray = Fc = vt.usePattern = Lc = vt.callValidateCode = Nc = vt.schemaProperties = Dc = vt.allSchemaProperties = Ic = vt.noPropertyInData = Oc = vt.propertyInData = Rc = vt.isOwnProperty = Mc = vt.hasPropFunc = Ec = vt.reportMissingProp = kc = vt.checkMissingProp = Pc = vt.checkReportMissingProp = void 0;
4324
- const zt = Qe, nh = ft, xi = Wi, L3 = ft;
4321
+ var oi = {}, mt = {};
4322
+ Object.defineProperty(mt, "__esModule", { value: !0 });
4323
+ var zc = mt.validateUnion = Uc = mt.validateArray = Fc = mt.usePattern = Lc = mt.callValidateCode = Nc = mt.schemaProperties = Dc = mt.allSchemaProperties = Ic = mt.noPropertyInData = Oc = mt.propertyInData = Rc = mt.isOwnProperty = Mc = mt.hasPropFunc = Ec = mt.reportMissingProp = kc = mt.checkMissingProp = Pc = mt.checkReportMissingProp = void 0;
4324
+ const Pt = Qe, nh = dt, xi = Wi, L3 = dt;
4325
4325
  function F3(r, e) {
4326
4326
  const { gen: t, data: i, it: s } = r;
4327
4327
  t.if(lh(t, i, e, s.opts.ownProperties), () => {
4328
- r.setParams({ missingProperty: (0, zt._)`${e}` }, !0), r.error();
4328
+ r.setParams({ missingProperty: (0, Pt._)`${e}` }, !0), r.error();
4329
4329
  });
4330
4330
  }
4331
- var Pc = vt.checkReportMissingProp = F3;
4331
+ var Pc = mt.checkReportMissingProp = F3;
4332
4332
  function U3({ gen: r, data: e, it: { opts: t } }, i, s) {
4333
- return (0, zt.or)(...i.map((a) => (0, zt.and)(lh(r, e, a, t.ownProperties), (0, zt._)`${s} = ${a}`)));
4333
+ return (0, Pt.or)(...i.map((a) => (0, Pt.and)(lh(r, e, a, t.ownProperties), (0, Pt._)`${s} = ${a}`)));
4334
4334
  }
4335
- var kc = vt.checkMissingProp = U3;
4335
+ var kc = mt.checkMissingProp = U3;
4336
4336
  function G3(r, e) {
4337
4337
  r.setParams({ missingProperty: e }, !0), r.error();
4338
4338
  }
4339
- var Ec = vt.reportMissingProp = G3;
4339
+ var Ec = mt.reportMissingProp = G3;
4340
4340
  function Ac(r) {
4341
4341
  return r.scopeValue("func", {
4342
4342
  // eslint-disable-next-line @typescript-eslint/unbound-method
4343
4343
  ref: Object.prototype.hasOwnProperty,
4344
- code: (0, zt._)`Object.prototype.hasOwnProperty`
4344
+ code: (0, Pt._)`Object.prototype.hasOwnProperty`
4345
4345
  });
4346
4346
  }
4347
- var Mc = vt.hasPropFunc = Ac;
4347
+ var Mc = mt.hasPropFunc = Ac;
4348
4348
  function oh(r, e, t) {
4349
- return (0, zt._)`${Ac(r)}.call(${e}, ${t})`;
4349
+ return (0, Pt._)`${Ac(r)}.call(${e}, ${t})`;
4350
4350
  }
4351
- var Rc = vt.isOwnProperty = oh;
4351
+ var Rc = mt.isOwnProperty = oh;
4352
4352
  function j3(r, e, t, i) {
4353
- const s = (0, zt._)`${e}${(0, zt.getProperty)(t)} !== undefined`;
4354
- return i ? (0, zt._)`${s} && ${oh(r, e, t)}` : s;
4353
+ const s = (0, Pt._)`${e}${(0, Pt.getProperty)(t)} !== undefined`;
4354
+ return i ? (0, Pt._)`${s} && ${oh(r, e, t)}` : s;
4355
4355
  }
4356
- var Oc = vt.propertyInData = j3;
4356
+ var Oc = mt.propertyInData = j3;
4357
4357
  function lh(r, e, t, i) {
4358
- const s = (0, zt._)`${e}${(0, zt.getProperty)(t)} === undefined`;
4359
- return i ? (0, zt.or)(s, (0, zt.not)(oh(r, e, t))) : s;
4358
+ const s = (0, Pt._)`${e}${(0, Pt.getProperty)(t)} === undefined`;
4359
+ return i ? (0, Pt.or)(s, (0, Pt.not)(oh(r, e, t))) : s;
4360
4360
  }
4361
- var Ic = vt.noPropertyInData = lh;
4361
+ var Ic = mt.noPropertyInData = lh;
4362
4362
  function $c(r) {
4363
4363
  return r ? Object.keys(r).filter((e) => e !== "__proto__") : [];
4364
4364
  }
4365
- var Dc = vt.allSchemaProperties = $c;
4365
+ var Dc = mt.allSchemaProperties = $c;
4366
4366
  function B3(r, e) {
4367
4367
  return $c(e).filter((t) => !(0, nh.alwaysValidSchema)(r, e[t]));
4368
4368
  }
4369
- var Nc = vt.schemaProperties = B3;
4369
+ var Nc = mt.schemaProperties = B3;
4370
4370
  function V3({ schemaCode: r, data: e, it: { gen: t, topSchemaRef: i, schemaPath: s, errorPath: a }, it: n }, o, l, h) {
4371
- const u = h ? (0, zt._)`${r}, ${e}, ${i}${s}` : e, d = [
4372
- [xi.default.instancePath, (0, zt.strConcat)(xi.default.instancePath, a)],
4371
+ const u = h ? (0, Pt._)`${r}, ${e}, ${i}${s}` : e, d = [
4372
+ [xi.default.instancePath, (0, Pt.strConcat)(xi.default.instancePath, a)],
4373
4373
  [xi.default.parentData, n.parentData],
4374
4374
  [xi.default.parentDataProperty, n.parentDataProperty],
4375
4375
  [xi.default.rootData, xi.default.rootData]
4376
4376
  ];
4377
4377
  n.opts.dynamicRef && d.push([xi.default.dynamicAnchors, xi.default.dynamicAnchors]);
4378
- const c = (0, zt._)`${u}, ${t.object(...d)}`;
4379
- return l !== zt.nil ? (0, zt._)`${o}.call(${l}, ${c})` : (0, zt._)`${o}(${c})`;
4378
+ const c = (0, Pt._)`${u}, ${t.object(...d)}`;
4379
+ return l !== Pt.nil ? (0, Pt._)`${o}.call(${l}, ${c})` : (0, Pt._)`${o}(${c})`;
4380
4380
  }
4381
- var Lc = vt.callValidateCode = V3;
4382
- const H3 = (0, zt._)`new RegExp`;
4381
+ var Lc = mt.callValidateCode = V3;
4382
+ const H3 = (0, Pt._)`new RegExp`;
4383
4383
  function W3({ gen: r, it: { opts: e } }, t) {
4384
4384
  const i = e.unicodeRegExp ? "u" : "", { regExp: s } = e.code, a = s(t, i);
4385
4385
  return r.scopeValue("pattern", {
4386
4386
  key: a.toString(),
4387
4387
  ref: a,
4388
- code: (0, zt._)`${s.code === "new RegExp" ? H3 : (0, L3.useFunc)(r, s)}(${t}, ${i})`
4388
+ code: (0, Pt._)`${s.code === "new RegExp" ? H3 : (0, L3.useFunc)(r, s)}(${t}, ${i})`
4389
4389
  });
4390
4390
  }
4391
- var Fc = vt.usePattern = W3;
4391
+ var Fc = mt.usePattern = W3;
4392
4392
  function q3(r) {
4393
4393
  const { gen: e, data: t, keyword: i, it: s } = r, a = e.name("valid");
4394
4394
  if (s.allErrors) {
@@ -4397,17 +4397,17 @@ function q3(r) {
4397
4397
  }
4398
4398
  return e.var(a, !0), n(() => e.break()), a;
4399
4399
  function n(o) {
4400
- const l = e.const("len", (0, zt._)`${t}.length`);
4400
+ const l = e.const("len", (0, Pt._)`${t}.length`);
4401
4401
  e.forRange("i", 0, l, (h) => {
4402
4402
  r.subschema({
4403
4403
  keyword: i,
4404
4404
  dataProp: h,
4405
4405
  dataPropType: nh.Type.Num
4406
- }, a), e.if((0, zt.not)(a), o);
4406
+ }, a), e.if((0, Pt.not)(a), o);
4407
4407
  });
4408
4408
  }
4409
4409
  }
4410
- var Uc = vt.validateArray = q3;
4410
+ var Uc = mt.validateArray = q3;
4411
4411
  function Y3(r) {
4412
4412
  const { gen: e, schema: t, keyword: i, it: s } = r;
4413
4413
  if (!Array.isArray(t))
@@ -4421,10 +4421,10 @@ function Y3(r) {
4421
4421
  schemaProp: l,
4422
4422
  compositeRule: !0
4423
4423
  }, n);
4424
- e.assign(a, (0, zt._)`${a} || ${n}`), r.mergeValidEvaluated(h, n) || e.if((0, zt.not)(a));
4424
+ e.assign(a, (0, Pt._)`${a} || ${n}`), r.mergeValidEvaluated(h, n) || e.if((0, Pt.not)(a));
4425
4425
  })), r.result(a, () => r.reset(), () => r.error(!0));
4426
4426
  }
4427
- zc = vt.validateUnion = Y3;
4427
+ zc = mt.validateUnion = Y3;
4428
4428
  const X3 = /* @__PURE__ */ Pe({
4429
4429
  __proto__: null,
4430
4430
  get allSchemaProperties() {
@@ -4439,7 +4439,7 @@ const X3 = /* @__PURE__ */ Pe({
4439
4439
  get checkReportMissingProp() {
4440
4440
  return Pc;
4441
4441
  },
4442
- default: vt,
4442
+ default: mt,
4443
4443
  get hasPropFunc() {
4444
4444
  return Mc;
4445
4445
  },
@@ -4467,7 +4467,7 @@ const X3 = /* @__PURE__ */ Pe({
4467
4467
  get validateUnion() {
4468
4468
  return zc;
4469
4469
  }
4470
- }, [vt]), li = /* @__PURE__ */ ke(X3);
4470
+ }, [mt]), li = /* @__PURE__ */ ke(X3);
4471
4471
  Object.defineProperty(oi, "__esModule", { value: !0 });
4472
4472
  var Gc = oi.validateKeywordUsage = Hc = oi.validSchemaType = Bc = oi.funcKeywordCode = jc = oi.macroKeywordCode = void 0;
4473
4473
  const cr = Qe, Ss = Wi, K3 = li, Z3 = vo;
@@ -4573,7 +4573,7 @@ const i8 = /* @__PURE__ */ Pe({
4573
4573
  var ji = {};
4574
4574
  Object.defineProperty(ji, "__esModule", { value: !0 });
4575
4575
  var Wc = ji.extendSubschemaMode = Xc = ji.extendSubschemaData = Yc = ji.getSubschema = void 0;
4576
- const ci = Qe, qc = ft;
4576
+ const ci = Qe, qc = dt;
4577
4577
  function a8(r, { keyword: e, schemaProp: t, schema: i, schemaPath: s, errSchemaPath: a, topSchemaRef: n }) {
4578
4578
  if (e !== void 0 && i !== void 0)
4579
4579
  throw new Error('both "keyword" and "schema" passed, only one allowed');
@@ -4756,7 +4756,7 @@ const c8 = /* @__PURE__ */ zr(Qc), p8 = /* @__PURE__ */ Pe({
4756
4756
  }, [Qc]), g8 = /* @__PURE__ */ ke(p8);
4757
4757
  Object.defineProperty(pr, "__esModule", { value: !0 });
4758
4758
  var xc = pr.getSchemaRefs = o4 = pr.resolveUrl = n4 = pr.normalizeId = a4 = pr._getFullPath = i4 = pr.getFullPath = e4 = pr.inlineRef = void 0;
4759
- const v8 = ft, m8 = Zc, b8 = g8, y8 = /* @__PURE__ */ new Set([
4759
+ const v8 = dt, m8 = Zc, b8 = g8, y8 = /* @__PURE__ */ new Set([
4760
4760
  "type",
4761
4761
  "format",
4762
4762
  "pattern",
@@ -4881,7 +4881,7 @@ const P8 = /* @__PURE__ */ Pe({
4881
4881
  }, [pr]), Ul = /* @__PURE__ */ ke(P8);
4882
4882
  Object.defineProperty(Ui, "__esModule", { value: !0 });
4883
4883
  var l4 = Ui.getData = y4 = Ui.KeywordCxt = u4 = Ui.validateFunctionCode = void 0;
4884
- const h4 = w3, mf = Fl, hh = wc, cl = Fl, k8 = N3, Ya = s8, d0 = h8, Ie = Qe, He = Wi, E8 = Ul, Bi = ft, Da = vo;
4884
+ const h4 = w3, mf = Fl, hh = wc, cl = Fl, k8 = N3, Ya = s8, d0 = h8, Ie = Qe, He = Wi, E8 = Ul, Bi = dt, Da = vo;
4885
4885
  function A8(r) {
4886
4886
  if (c4(r) && (p4(r), d4(r))) {
4887
4887
  O8(r);
@@ -5230,7 +5230,7 @@ const rm = /* @__PURE__ */ Pe({
5230
5230
  var Ir = {};
5231
5231
  Object.defineProperty(Ir, "__esModule", { value: !0 });
5232
5232
  var C4 = Ir.resolveSchema = k4 = Ir.getCompilingSchema = z4 = Ir.resolveRef = S4 = Ir.compileSchema = w4 = Ir.SchemaEnv = void 0;
5233
- const ri = Qe, im = dh, Ts = Wi, ni = Ul, Tf = ft, sm = mo;
5233
+ const ri = Qe, im = dh, Ts = Wi, ni = Ul, Tf = dt, sm = mo;
5234
5234
  class Gl {
5235
5235
  constructor(e) {
5236
5236
  var t;
@@ -5458,24 +5458,24 @@ var mh = {}, o1 = { exports: {} };
5458
5458
  return J;
5459
5459
  }
5460
5460
  function h(W) {
5461
- var Z = "[A-Za-z]", J = "[0-9]", oe = i(J, "[A-Fa-f]"), le = s(s("%[EFef]" + oe + "%" + oe + oe + "%" + oe + oe) + "|" + s("%[89A-Fa-f]" + oe + "%" + oe + oe) + "|" + s("%" + oe + oe)), $e = "[\\:\\/\\?\\#\\[\\]\\@]", Oe = "[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]", rt = i($e, Oe), wt = W ? "[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]" : "[]", lt = W ? "[\\uE000-\\uF8FF]" : "[]", Ye = i(Z, J, "[\\-\\.\\_\\~]", wt);
5461
+ var Z = "[A-Za-z]", J = "[0-9]", oe = i(J, "[A-Fa-f]"), le = s(s("%[EFef]" + oe + "%" + oe + oe + "%" + oe + oe) + "|" + s("%[89A-Fa-f]" + oe + "%" + oe + oe) + "|" + s("%" + oe + oe)), $e = "[\\:\\/\\?\\#\\[\\]\\@]", Oe = "[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]", rt = i($e, Oe), St = W ? "[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]" : "[]", ht = W ? "[\\uE000-\\uF8FF]" : "[]", Ye = i(Z, J, "[\\-\\.\\_\\~]", St);
5462
5462
  s(Z + i(Z, J, "[\\+\\-\\.]") + "*"), s(s(le + "|" + i(Ye, Oe, "[\\:]")) + "*");
5463
- var Je = s(s("25[0-5]") + "|" + s("2[0-4]" + J) + "|" + s("1" + J + J) + "|" + s("0?[1-9]" + J) + "|0?0?" + J), dt = s(Je + "\\." + Je + "\\." + Je + "\\." + Je), Ge = s(oe + "{1,4}"), De = s(s(Ge + "\\:" + Ge) + "|" + dt), ct = s(s(Ge + "\\:") + "{6}" + De), Ut = s("\\:\\:" + s(Ge + "\\:") + "{5}" + De), _r = s(s(Ge) + "?\\:\\:" + s(Ge + "\\:") + "{4}" + De), mt = s(s(s(Ge + "\\:") + "{0,1}" + Ge) + "?\\:\\:" + s(Ge + "\\:") + "{3}" + De), Vt = s(s(s(Ge + "\\:") + "{0,2}" + Ge) + "?\\:\\:" + s(Ge + "\\:") + "{2}" + De), qt = s(s(s(Ge + "\\:") + "{0,3}" + Ge) + "?\\:\\:" + Ge + "\\:" + De), Ht = s(s(s(Ge + "\\:") + "{0,4}" + Ge) + "?\\:\\:" + De), $t = s(s(s(Ge + "\\:") + "{0,5}" + Ge) + "?\\:\\:" + Ge), at = s(s(s(Ge + "\\:") + "{0,6}" + Ge) + "?\\:\\:"), Ue = s([ct, Ut, _r, mt, Vt, qt, Ht, $t, at].join("|")), or = s(s(Ye + "|" + le) + "+");
5463
+ var Je = s(s("25[0-5]") + "|" + s("2[0-4]" + J) + "|" + s("1" + J + J) + "|" + s("0?[1-9]" + J) + "|0?0?" + J), ct = s(Je + "\\." + Je + "\\." + Je + "\\." + Je), Ge = s(oe + "{1,4}"), De = s(s(Ge + "\\:" + Ge) + "|" + ct), pt = s(s(Ge + "\\:") + "{6}" + De), Ut = s("\\:\\:" + s(Ge + "\\:") + "{5}" + De), _r = s(s(Ge) + "?\\:\\:" + s(Ge + "\\:") + "{4}" + De), bt = s(s(s(Ge + "\\:") + "{0,1}" + Ge) + "?\\:\\:" + s(Ge + "\\:") + "{3}" + De), Vt = s(s(s(Ge + "\\:") + "{0,2}" + Ge) + "?\\:\\:" + s(Ge + "\\:") + "{2}" + De), qt = s(s(s(Ge + "\\:") + "{0,3}" + Ge) + "?\\:\\:" + Ge + "\\:" + De), Ht = s(s(s(Ge + "\\:") + "{0,4}" + Ge) + "?\\:\\:" + De), $t = s(s(s(Ge + "\\:") + "{0,5}" + Ge) + "?\\:\\:" + Ge), nt = s(s(s(Ge + "\\:") + "{0,6}" + Ge) + "?\\:\\:"), Ue = s([pt, Ut, _r, bt, Vt, qt, Ht, $t, nt].join("|")), or = s(s(Ye + "|" + le) + "+");
5464
5464
  s("[vV]" + oe + "+\\." + i(Ye, Oe, "[\\:]") + "+"), s(s(le + "|" + i(Ye, Oe)) + "*");
5465
5465
  var ei = s(le + "|" + i(Ye, Oe, "[\\:\\@]"));
5466
- return s(s(le + "|" + i(Ye, Oe, "[\\@]")) + "+"), s(s(ei + "|" + i("[\\/\\?]", lt)) + "*"), {
5466
+ return s(s(le + "|" + i(Ye, Oe, "[\\@]")) + "+"), s(s(ei + "|" + i("[\\/\\?]", ht)) + "*"), {
5467
5467
  NOT_SCHEME: new RegExp(i("[^]", Z, J, "[\\+\\-\\.]"), "g"),
5468
5468
  NOT_USERINFO: new RegExp(i("[^\\%\\:]", Ye, Oe), "g"),
5469
5469
  NOT_HOST: new RegExp(i("[^\\%\\[\\]\\:]", Ye, Oe), "g"),
5470
5470
  NOT_PATH: new RegExp(i("[^\\%\\/\\:\\@]", Ye, Oe), "g"),
5471
5471
  NOT_PATH_NOSCHEME: new RegExp(i("[^\\%\\/\\@]", Ye, Oe), "g"),
5472
- NOT_QUERY: new RegExp(i("[^\\%]", Ye, Oe, "[\\:\\@\\/\\?]", lt), "g"),
5472
+ NOT_QUERY: new RegExp(i("[^\\%]", Ye, Oe, "[\\:\\@\\/\\?]", ht), "g"),
5473
5473
  NOT_FRAGMENT: new RegExp(i("[^\\%]", Ye, Oe, "[\\:\\@\\/\\?]"), "g"),
5474
5474
  ESCAPE: new RegExp(i("[^]", Ye, Oe), "g"),
5475
5475
  UNRESERVED: new RegExp(Ye, "g"),
5476
5476
  OTHER_CHARS: new RegExp(i("[^\\%]", Ye, rt), "g"),
5477
5477
  PCT_ENCODED: new RegExp(le, "g"),
5478
- IPV4ADDRESS: new RegExp("^(" + dt + ")$"),
5478
+ IPV4ADDRESS: new RegExp("^(" + ct + ")$"),
5479
5479
  IPV6ADDRESS: new RegExp("^\\[?(" + Ue + ")" + s(s("\\%25|\\%(?!" + oe + "{2})") + "(" + or + ")") + "?\\]?$")
5480
5480
  //RFC 6874, with relaxed parsing rules
5481
5481
  };
@@ -5484,10 +5484,10 @@ var mh = {}, o1 = { exports: {} };
5484
5484
  function W(Z, J) {
5485
5485
  var oe = [], le = !0, $e = !1, Oe = void 0;
5486
5486
  try {
5487
- for (var rt = Z[Symbol.iterator](), wt; !(le = (wt = rt.next()).done) && (oe.push(wt.value), !(J && oe.length === J)); le = !0)
5487
+ for (var rt = Z[Symbol.iterator](), St; !(le = (St = rt.next()).done) && (oe.push(St.value), !(J && oe.length === J)); le = !0)
5488
5488
  ;
5489
- } catch (lt) {
5490
- $e = !0, Oe = lt;
5489
+ } catch (ht) {
5490
+ $e = !0, Oe = ht;
5491
5491
  } finally {
5492
5492
  try {
5493
5493
  !le && rt.return && rt.return();
@@ -5563,50 +5563,50 @@ var mh = {}, o1 = { exports: {} };
5563
5563
  Oe < 0 && (Oe = 0);
5564
5564
  for (var rt = 0; rt < Oe; ++rt)
5565
5565
  W.charCodeAt(rt) >= 128 && x("not-basic"), Z.push(W.charCodeAt(rt));
5566
- for (var wt = Oe > 0 ? Oe + 1 : 0; wt < J; ) {
5566
+ for (var St = Oe > 0 ? Oe + 1 : 0; St < J; ) {
5567
5567
  for (
5568
- var lt = oe, Ye = 1, Je = g;
5568
+ var ht = oe, Ye = 1, Je = g;
5569
5569
  ;
5570
5570
  /* no condition */
5571
5571
  Je += g
5572
5572
  ) {
5573
- wt >= J && x("invalid-input");
5574
- var dt = se(W.charCodeAt(wt++));
5575
- (dt >= g || dt > Y((p - oe) / Ye)) && x("overflow"), oe += dt * Ye;
5573
+ St >= J && x("invalid-input");
5574
+ var ct = se(W.charCodeAt(St++));
5575
+ (ct >= g || ct > Y((p - oe) / Ye)) && x("overflow"), oe += ct * Ye;
5576
5576
  var Ge = Je <= $e ? y : Je >= $e + _ ? _ : Je - $e;
5577
- if (dt < Ge)
5577
+ if (ct < Ge)
5578
5578
  break;
5579
5579
  var De = g - Ge;
5580
5580
  Ye > Y(p / De) && x("overflow"), Ye *= De;
5581
5581
  }
5582
- var ct = Z.length + 1;
5583
- $e = M(oe - lt, ct, lt == 0), Y(oe / ct) > p - le && x("overflow"), le += Y(oe / ct), oe %= ct, Z.splice(oe++, 0, le);
5582
+ var pt = Z.length + 1;
5583
+ $e = M(oe - ht, pt, ht == 0), Y(oe / pt) > p - le && x("overflow"), le += Y(oe / pt), oe %= pt, Z.splice(oe++, 0, le);
5584
5584
  }
5585
5585
  return String.fromCodePoint.apply(String, Z);
5586
5586
  }, P = function(W) {
5587
5587
  var Z = [];
5588
5588
  W = Ce(W);
5589
- var J = W.length, oe = O, le = 0, $e = w, Oe = !0, rt = !1, wt = void 0;
5589
+ var J = W.length, oe = O, le = 0, $e = w, Oe = !0, rt = !1, St = void 0;
5590
5590
  try {
5591
- for (var lt = W[Symbol.iterator](), Ye; !(Oe = (Ye = lt.next()).done); Oe = !0) {
5591
+ for (var ht = W[Symbol.iterator](), Ye; !(Oe = (Ye = ht.next()).done); Oe = !0) {
5592
5592
  var Je = Ye.value;
5593
5593
  Je < 128 && Z.push(ee(Je));
5594
5594
  }
5595
5595
  } catch (Ur) {
5596
- rt = !0, wt = Ur;
5596
+ rt = !0, St = Ur;
5597
5597
  } finally {
5598
5598
  try {
5599
- !Oe && lt.return && lt.return();
5599
+ !Oe && ht.return && ht.return();
5600
5600
  } finally {
5601
5601
  if (rt)
5602
- throw wt;
5602
+ throw St;
5603
5603
  }
5604
5604
  }
5605
- var dt = Z.length, Ge = dt;
5606
- for (dt && Z.push(k); Ge < J; ) {
5607
- var De = p, ct = !0, Ut = !1, _r = void 0;
5605
+ var ct = Z.length, Ge = ct;
5606
+ for (ct && Z.push(k); Ge < J; ) {
5607
+ var De = p, pt = !0, Ut = !1, _r = void 0;
5608
5608
  try {
5609
- for (var mt = W[Symbol.iterator](), Vt; !(ct = (Vt = mt.next()).done); ct = !0) {
5609
+ for (var bt = W[Symbol.iterator](), Vt; !(pt = (Vt = bt.next()).done); pt = !0) {
5610
5610
  var qt = Vt.value;
5611
5611
  qt >= oe && qt < De && (De = qt);
5612
5612
  }
@@ -5614,7 +5614,7 @@ var mh = {}, o1 = { exports: {} };
5614
5614
  Ut = !0, _r = Ur;
5615
5615
  } finally {
5616
5616
  try {
5617
- !ct && mt.return && mt.return();
5617
+ !pt && bt.return && bt.return();
5618
5618
  } finally {
5619
5619
  if (Ut)
5620
5620
  throw _r;
@@ -5622,7 +5622,7 @@ var mh = {}, o1 = { exports: {} };
5622
5622
  }
5623
5623
  var Ht = Ge + 1;
5624
5624
  De - oe > Y((p - le) / Ht) && x("overflow"), le += (De - oe) * Ht, oe = De;
5625
- var $t = !0, at = !1, Ue = void 0;
5625
+ var $t = !0, nt = !1, Ue = void 0;
5626
5626
  try {
5627
5627
  for (var or = W[Symbol.iterator](), ei; !($t = (ei = or.next()).done); $t = !0) {
5628
5628
  var ti = ei.value;
@@ -5639,16 +5639,16 @@ var mh = {}, o1 = { exports: {} };
5639
5639
  var Pi = xt - Tr, ki = g - Tr;
5640
5640
  Z.push(ee(K(Tr + Pi % ki, 0))), xt = Y(Pi / ki);
5641
5641
  }
5642
- Z.push(ee(K(xt, 0))), $e = M(le, Ht, Ge == dt), le = 0, ++Ge;
5642
+ Z.push(ee(K(xt, 0))), $e = M(le, Ht, Ge == ct), le = 0, ++Ge;
5643
5643
  }
5644
5644
  }
5645
5645
  } catch (Ur) {
5646
- at = !0, Ue = Ur;
5646
+ nt = !0, Ue = Ur;
5647
5647
  } finally {
5648
5648
  try {
5649
5649
  !$t && or.return && or.return();
5650
5650
  } finally {
5651
- if (at)
5651
+ if (nt)
5652
5652
  throw Ue;
5653
5653
  }
5654
5654
  }
@@ -5731,23 +5731,23 @@ var mh = {}, o1 = { exports: {} };
5731
5731
  function Se(W, Z) {
5732
5732
  var J = W.match(Z.IPV6ADDRESS) || [], oe = c(J, 3), le = oe[1], $e = oe[2];
5733
5733
  if (le) {
5734
- for (var Oe = le.toLowerCase().split("::").reverse(), rt = c(Oe, 2), wt = rt[0], lt = rt[1], Ye = lt ? lt.split(":").map(re) : [], Je = wt.split(":").map(re), dt = Z.IPV4ADDRESS.test(Je[Je.length - 1]), Ge = dt ? 7 : 8, De = Je.length - Ge, ct = Array(Ge), Ut = 0; Ut < Ge; ++Ut)
5735
- ct[Ut] = Ye[Ut] || Je[De + Ut] || "";
5736
- dt && (ct[Ge - 1] = ce(ct[Ge - 1], Z));
5737
- var _r = ct.reduce(function($t, at, Ue) {
5738
- if (!at || at === "0") {
5734
+ for (var Oe = le.toLowerCase().split("::").reverse(), rt = c(Oe, 2), St = rt[0], ht = rt[1], Ye = ht ? ht.split(":").map(re) : [], Je = St.split(":").map(re), ct = Z.IPV4ADDRESS.test(Je[Je.length - 1]), Ge = ct ? 7 : 8, De = Je.length - Ge, pt = Array(Ge), Ut = 0; Ut < Ge; ++Ut)
5735
+ pt[Ut] = Ye[Ut] || Je[De + Ut] || "";
5736
+ ct && (pt[Ge - 1] = ce(pt[Ge - 1], Z));
5737
+ var _r = pt.reduce(function($t, nt, Ue) {
5738
+ if (!nt || nt === "0") {
5739
5739
  var or = $t[$t.length - 1];
5740
5740
  or && or.index + or.length === Ue ? or.length++ : $t.push({ index: Ue, length: 1 });
5741
5741
  }
5742
5742
  return $t;
5743
- }, []), mt = _r.sort(function($t, at) {
5744
- return at.length - $t.length;
5743
+ }, []), bt = _r.sort(function($t, nt) {
5744
+ return nt.length - $t.length;
5745
5745
  })[0], Vt = void 0;
5746
- if (mt && mt.length > 1) {
5747
- var qt = ct.slice(0, mt.index), Ht = ct.slice(mt.index + mt.length);
5746
+ if (bt && bt.length > 1) {
5747
+ var qt = pt.slice(0, bt.index), Ht = pt.slice(bt.index + bt.length);
5748
5748
  Vt = qt.join(":") + "::" + Ht.join(":");
5749
5749
  } else
5750
- Vt = ct.join(":");
5750
+ Vt = pt.join(":");
5751
5751
  return $e && (Vt += "%" + $e), Vt;
5752
5752
  } else
5753
5753
  return W;
@@ -5781,15 +5781,15 @@ var mh = {}, o1 = { exports: {} };
5781
5781
  return "[" + $e + (Oe ? "%25" + Oe : "") + "]";
5782
5782
  })), (typeof W.port == "number" || typeof W.port == "string") && (oe.push(":"), oe.push(String(W.port))), oe.length ? oe.join("") : void 0;
5783
5783
  }
5784
- var Be = /^\.\.?\//, Ae = /^\/\.(\/|$)/, ot = /^\/\.\.(\/|$)/, Ze = /^\/?(?:.|\n)*?(?=\/|$)/;
5785
- function ut(W) {
5784
+ var Be = /^\.\.?\//, Ae = /^\/\.(\/|$)/, lt = /^\/\.\.(\/|$)/, Ze = /^\/?(?:.|\n)*?(?=\/|$)/;
5785
+ function ft(W) {
5786
5786
  for (var Z = []; W.length; )
5787
5787
  if (W.match(Be))
5788
5788
  W = W.replace(Be, "");
5789
5789
  else if (W.match(Ae))
5790
5790
  W = W.replace(Ae, "/");
5791
- else if (W.match(ot))
5792
- W = W.replace(ot, "/"), Z.pop();
5791
+ else if (W.match(lt))
5792
+ W = W.replace(lt, "/"), Z.pop();
5793
5793
  else if (W === "." || W === "..")
5794
5794
  W = "";
5795
5795
  else {
@@ -5814,15 +5814,15 @@ var mh = {}, o1 = { exports: {} };
5814
5814
  var $e = Fe(W, Z);
5815
5815
  if ($e !== void 0 && (Z.reference !== "suffix" && oe.push("//"), oe.push($e), W.path && W.path.charAt(0) !== "/" && oe.push("/")), W.path !== void 0) {
5816
5816
  var Oe = W.path;
5817
- !Z.absolutePath && (!le || !le.absolutePath) && (Oe = ut(Oe)), $e === void 0 && (Oe = Oe.replace(/^\/\//, "/%2F")), oe.push(Oe);
5817
+ !Z.absolutePath && (!le || !le.absolutePath) && (Oe = ft(Oe)), $e === void 0 && (Oe = Oe.replace(/^\/\//, "/%2F")), oe.push(Oe);
5818
5818
  }
5819
5819
  return W.query !== void 0 && (oe.push("?"), oe.push(W.query)), W.fragment !== void 0 && (oe.push("#"), oe.push(W.fragment)), oe.join("");
5820
5820
  }
5821
5821
  function Ot(W, Z) {
5822
5822
  var J = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, oe = arguments[3], le = {};
5823
- return oe || (W = Ee(Ve(W, J), J), Z = Ee(Ve(Z, J), J)), J = J || {}, !J.tolerant && Z.scheme ? (le.scheme = Z.scheme, le.userinfo = Z.userinfo, le.host = Z.host, le.port = Z.port, le.path = ut(Z.path || ""), le.query = Z.query) : (Z.userinfo !== void 0 || Z.host !== void 0 || Z.port !== void 0 ? (le.userinfo = Z.userinfo, le.host = Z.host, le.port = Z.port, le.path = ut(Z.path || ""), le.query = Z.query) : (Z.path ? (Z.path.charAt(0) === "/" ? le.path = ut(Z.path) : ((W.userinfo !== void 0 || W.host !== void 0 || W.port !== void 0) && !W.path ? le.path = "/" + Z.path : W.path ? le.path = W.path.slice(0, W.path.lastIndexOf("/") + 1) + Z.path : le.path = Z.path, le.path = ut(le.path)), le.query = Z.query) : (le.path = W.path, Z.query !== void 0 ? le.query = Z.query : le.query = W.query), le.userinfo = W.userinfo, le.host = W.host, le.port = W.port), le.scheme = W.scheme), le.fragment = Z.fragment, le;
5823
+ return oe || (W = Ee(Ve(W, J), J), Z = Ee(Ve(Z, J), J)), J = J || {}, !J.tolerant && Z.scheme ? (le.scheme = Z.scheme, le.userinfo = Z.userinfo, le.host = Z.host, le.port = Z.port, le.path = ft(Z.path || ""), le.query = Z.query) : (Z.userinfo !== void 0 || Z.host !== void 0 || Z.port !== void 0 ? (le.userinfo = Z.userinfo, le.host = Z.host, le.port = Z.port, le.path = ft(Z.path || ""), le.query = Z.query) : (Z.path ? (Z.path.charAt(0) === "/" ? le.path = ft(Z.path) : ((W.userinfo !== void 0 || W.host !== void 0 || W.port !== void 0) && !W.path ? le.path = "/" + Z.path : W.path ? le.path = W.path.slice(0, W.path.lastIndexOf("/") + 1) + Z.path : le.path = Z.path, le.path = ft(le.path)), le.query = Z.query) : (le.path = W.path, Z.query !== void 0 ? le.query = Z.query : le.query = W.query), le.userinfo = W.userinfo, le.host = W.host, le.port = W.port), le.scheme = W.scheme), le.fragment = Z.fragment, le;
5824
5824
  }
5825
- function At(W, Z, J) {
5825
+ function Mt(W, Z, J) {
5826
5826
  var oe = l({ scheme: "null" }, J);
5827
5827
  return Ve(Ot(Ee(W, oe), Ee(Z, oe), oe, !0), oe);
5828
5828
  }
@@ -5876,7 +5876,7 @@ var mh = {}, o1 = { exports: {} };
5876
5876
  domainHost: Nr.domainHost,
5877
5877
  parse: Nr.parse,
5878
5878
  serialize: Nr.serialize
5879
- }, Lr = {}, Kr = "[A-Za-z0-9\\-\\.\\_\\~\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]", Ct = "[0-9A-Fa-f]", Ar = s(s("%[EFef]" + Ct + "%" + Ct + Ct + "%" + Ct + Ct) + "|" + s("%[89A-Fa-f]" + Ct + "%" + Ct + Ct) + "|" + s("%" + Ct + Ct)), fr = "[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]", Ci = "[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]", Zr = i(Ci, '[\\"\\\\]'), ui = "[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]", br = new RegExp(Kr, "g"), Mt = new RegExp(Ar, "g"), Js = new RegExp(i("[^]", fr, "[\\.]", '[\\"]', Zr), "g"), Jr = new RegExp(i("[^]", Kr, ui), "g"), Qr = Jr;
5879
+ }, Lr = {}, Kr = "[A-Za-z0-9\\-\\.\\_\\~\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]", wt = "[0-9A-Fa-f]", Ar = s(s("%[EFef]" + wt + "%" + wt + wt + "%" + wt + wt) + "|" + s("%[89A-Fa-f]" + wt + "%" + wt + wt) + "|" + s("%" + wt + wt)), fr = "[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]", Ci = "[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]", Zr = i(Ci, '[\\"\\\\]'), ui = "[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]", br = new RegExp(Kr, "g"), Rt = new RegExp(Ar, "g"), Js = new RegExp(i("[^]", fr, "[\\.]", '[\\"]', Zr), "g"), Jr = new RegExp(i("[^]", Kr, ui), "g"), Qr = Jr;
5880
5880
  function yr(W) {
5881
5881
  var Z = q(W);
5882
5882
  return Z.match(br) ? Z : W;
@@ -5886,21 +5886,21 @@ var mh = {}, o1 = { exports: {} };
5886
5886
  parse: function(W, Z) {
5887
5887
  var J = W, oe = J.to = J.path ? J.path.split(",") : [];
5888
5888
  if (J.path = void 0, J.query) {
5889
- for (var le = !1, $e = {}, Oe = J.query.split("&"), rt = 0, wt = Oe.length; rt < wt; ++rt) {
5890
- var lt = Oe[rt].split("=");
5891
- switch (lt[0]) {
5889
+ for (var le = !1, $e = {}, Oe = J.query.split("&"), rt = 0, St = Oe.length; rt < St; ++rt) {
5890
+ var ht = Oe[rt].split("=");
5891
+ switch (ht[0]) {
5892
5892
  case "to":
5893
- for (var Ye = lt[1].split(","), Je = 0, dt = Ye.length; Je < dt; ++Je)
5893
+ for (var Ye = ht[1].split(","), Je = 0, ct = Ye.length; Je < ct; ++Je)
5894
5894
  oe.push(Ye[Je]);
5895
5895
  break;
5896
5896
  case "subject":
5897
- J.subject = It(lt[1], Z);
5897
+ J.subject = It(ht[1], Z);
5898
5898
  break;
5899
5899
  case "body":
5900
- J.body = It(lt[1], Z);
5900
+ J.body = It(ht[1], Z);
5901
5901
  break;
5902
5902
  default:
5903
- le = !0, $e[It(lt[0], Z)] = It(lt[1], Z);
5903
+ le = !0, $e[It(ht[0], Z)] = It(ht[1], Z);
5904
5904
  break;
5905
5905
  }
5906
5906
  }
@@ -5908,16 +5908,16 @@ var mh = {}, o1 = { exports: {} };
5908
5908
  }
5909
5909
  J.query = void 0;
5910
5910
  for (var Ge = 0, De = oe.length; Ge < De; ++Ge) {
5911
- var ct = oe[Ge].split("@");
5912
- if (ct[0] = It(ct[0]), Z.unicodeSupport)
5913
- ct[1] = It(ct[1], Z).toLowerCase();
5911
+ var pt = oe[Ge].split("@");
5912
+ if (pt[0] = It(pt[0]), Z.unicodeSupport)
5913
+ pt[1] = It(pt[1], Z).toLowerCase();
5914
5914
  else
5915
5915
  try {
5916
- ct[1] = j.toASCII(It(ct[1], Z).toLowerCase());
5916
+ pt[1] = j.toASCII(It(pt[1], Z).toLowerCase());
5917
5917
  } catch (Ut) {
5918
5918
  J.error = J.error || "Email address's domain name can not be converted to ASCII via punycode: " + Ut;
5919
5919
  }
5920
- oe[Ge] = ct.join("@");
5920
+ oe[Ge] = pt.join("@");
5921
5921
  }
5922
5922
  return J;
5923
5923
  },
@@ -5925,21 +5925,21 @@ var mh = {}, o1 = { exports: {} };
5925
5925
  var J = W, oe = o(W.to);
5926
5926
  if (oe) {
5927
5927
  for (var le = 0, $e = oe.length; le < $e; ++le) {
5928
- var Oe = String(oe[le]), rt = Oe.lastIndexOf("@"), wt = Oe.slice(0, rt).replace(Mt, yr).replace(Mt, n).replace(Js, H), lt = Oe.slice(rt + 1);
5928
+ var Oe = String(oe[le]), rt = Oe.lastIndexOf("@"), St = Oe.slice(0, rt).replace(Rt, yr).replace(Rt, n).replace(Js, H), ht = Oe.slice(rt + 1);
5929
5929
  try {
5930
- lt = Z.iri ? j.toUnicode(lt) : j.toASCII(It(lt, Z).toLowerCase());
5930
+ ht = Z.iri ? j.toUnicode(ht) : j.toASCII(It(ht, Z).toLowerCase());
5931
5931
  } catch (Ge) {
5932
5932
  J.error = J.error || "Email address's domain name can not be converted to " + (Z.iri ? "Unicode" : "ASCII") + " via punycode: " + Ge;
5933
5933
  }
5934
- oe[le] = wt + "@" + lt;
5934
+ oe[le] = St + "@" + ht;
5935
5935
  }
5936
5936
  J.path = oe.join(",");
5937
5937
  }
5938
5938
  var Ye = W.headers = W.headers || {};
5939
5939
  W.subject && (Ye.subject = W.subject), W.body && (Ye.body = W.body);
5940
5940
  var Je = [];
5941
- for (var dt in Ye)
5942
- Ye[dt] !== Lr[dt] && Je.push(dt.replace(Mt, yr).replace(Mt, n).replace(Jr, H) + "=" + Ye[dt].replace(Mt, yr).replace(Mt, n).replace(Qr, H));
5941
+ for (var ct in Ye)
5942
+ Ye[ct] !== Lr[ct] && Je.push(ct.replace(Rt, yr).replace(Rt, n).replace(Jr, H) + "=" + Ye[ct].replace(Rt, yr).replace(Rt, n).replace(Qr, H));
5943
5943
  return Je.length && (J.query = Je.join("&")), J;
5944
5944
  }
5945
5945
  }, xr = /^([^\:]+)\:(.*)/, Fr = {
@@ -5947,8 +5947,8 @@ var mh = {}, o1 = { exports: {} };
5947
5947
  parse: function(W, Z) {
5948
5948
  var J = W.path && W.path.match(xr), oe = W;
5949
5949
  if (J) {
5950
- var le = Z.scheme || oe.scheme || "urn", $e = J[1].toLowerCase(), Oe = J[2], rt = le + ":" + (Z.nid || $e), wt = N[rt];
5951
- oe.nid = $e, oe.nss = Oe, oe.path = void 0, wt && (oe = wt.parse(oe, Z));
5950
+ var le = Z.scheme || oe.scheme || "urn", $e = J[1].toLowerCase(), Oe = J[2], rt = le + ":" + (Z.nid || $e), St = N[rt];
5951
+ oe.nid = $e, oe.nss = Oe, oe.path = void 0, St && (oe = St.parse(oe, Z));
5952
5952
  } else
5953
5953
  oe.error = oe.error || "URN can not be parsed.";
5954
5954
  return oe;
@@ -5970,7 +5970,7 @@ var mh = {}, o1 = { exports: {} };
5970
5970
  return J.nss = (W.uuid || "").toLowerCase(), J;
5971
5971
  }
5972
5972
  };
5973
- N[ir.scheme] = ir, N[kr.scheme] = kr, N[Nr.scheme] = Nr, N[Ft.scheme] = Ft, N[wi.scheme] = wi, N[Fr.scheme] = Fr, N[zi.scheme] = zi, t.SCHEMES = N, t.pctEncChar = H, t.pctDecChars = q, t.parse = Ee, t.removeDotSegments = ut, t.serialize = Ve, t.resolveComponents = Ot, t.resolve = At, t.normalize = Qt, t.equal = mr, t.escapeComponent = nr, t.unescapeComponent = It, Object.defineProperty(t, "__esModule", { value: !0 });
5973
+ N[ir.scheme] = ir, N[kr.scheme] = kr, N[Nr.scheme] = Nr, N[Ft.scheme] = Ft, N[wi.scheme] = wi, N[Fr.scheme] = Fr, N[zi.scheme] = zi, t.SCHEMES = N, t.pctEncChar = H, t.pctDecChars = q, t.parse = Ee, t.removeDotSegments = ft, t.serialize = Ve, t.resolveComponents = Ot, t.resolve = Mt, t.normalize = Qt, t.equal = mr, t.escapeComponent = nr, t.unescapeComponent = It, Object.defineProperty(t, "__esModule", { value: !0 });
5974
5974
  });
5975
5975
  })(o1, o1.exports);
5976
5976
  var E4 = o1.exports;
@@ -6006,7 +6006,7 @@ const Cm = /* @__PURE__ */ Pe({
6006
6006
  } }), Object.defineProperty(r, "CodeGen", { enumerable: !0, get: function() {
6007
6007
  return t.CodeGen;
6008
6008
  } });
6009
- const i = dh, s = ph, a = mc, n = vh, o = Qe, l = Ul, h = Fl, u = ft, d = mm, c = wm, f = (K, M) => new RegExp(K, M);
6009
+ const i = dh, s = ph, a = mc, n = vh, o = Qe, l = Ul, h = Fl, u = dt, d = mm, c = wm, f = (K, M) => new RegExp(K, M);
6010
6010
  f.code = "new RegExp";
6011
6011
  const p = ["removeAdditional", "useDefaults", "coerceTypes"], g = /* @__PURE__ */ new Set([
6012
6012
  "validate",
@@ -6044,7 +6044,7 @@ const Cm = /* @__PURE__ */ Pe({
6044
6044
  unicode: '"minLength"/"maxLength" account for unicode characters by default.'
6045
6045
  }, T = 200;
6046
6046
  function m(K) {
6047
- var M, E, P, z, D, j, N, H, q, Q, re, ce, Se, Re, we, Ee, Fe, Be, Ae, ot, Ze, ut, Ve, Ot, At;
6047
+ var M, E, P, z, D, j, N, H, q, Q, re, ce, Se, Re, we, Ee, Fe, Be, Ae, lt, Ze, ft, Ve, Ot, Mt;
6048
6048
  const Qt = K.strict, mr = (M = K.code) === null || M === void 0 ? void 0 : M.optimize, nr = mr === !0 || mr === void 0 ? 1 : mr || 0, It = (P = (E = K.code) === null || E === void 0 ? void 0 : E.regExp) !== null && P !== void 0 ? P : f, ir = (z = K.uriResolver) !== null && z !== void 0 ? z : c.default;
6049
6049
  return {
6050
6050
  strictSchema: (j = (D = K.strictSchema) !== null && D !== void 0 ? D : Qt) !== null && j !== void 0 ? j : !0,
@@ -6058,12 +6058,12 @@ const Cm = /* @__PURE__ */ Pe({
6058
6058
  meta: (Fe = K.meta) !== null && Fe !== void 0 ? Fe : !0,
6059
6059
  messages: (Be = K.messages) !== null && Be !== void 0 ? Be : !0,
6060
6060
  inlineRefs: (Ae = K.inlineRefs) !== null && Ae !== void 0 ? Ae : !0,
6061
- schemaId: (ot = K.schemaId) !== null && ot !== void 0 ? ot : "$id",
6061
+ schemaId: (lt = K.schemaId) !== null && lt !== void 0 ? lt : "$id",
6062
6062
  addUsedSchema: (Ze = K.addUsedSchema) !== null && Ze !== void 0 ? Ze : !0,
6063
- validateSchema: (ut = K.validateSchema) !== null && ut !== void 0 ? ut : !0,
6063
+ validateSchema: (ft = K.validateSchema) !== null && ft !== void 0 ? ft : !0,
6064
6064
  validateFormats: (Ve = K.validateFormats) !== null && Ve !== void 0 ? Ve : !0,
6065
6065
  unicodeRegExp: (Ot = K.unicodeRegExp) !== null && Ot !== void 0 ? Ot : !0,
6066
- int32range: (At = K.int32range) !== null && At !== void 0 ? At : !0,
6066
+ int32range: (Mt = K.int32range) !== null && Mt !== void 0 ? Mt : !0,
6067
6067
  uriResolver: ir
6068
6068
  };
6069
6069
  }
@@ -6446,7 +6446,7 @@ const Am = /* @__PURE__ */ Pe({
6446
6446
  var Ds = {};
6447
6447
  Object.defineProperty(Ds, "__esModule", { value: !0 });
6448
6448
  var M4 = Ds.callRef = O4 = Ds.getValidate = void 0;
6449
- const Rm = ph, Cf = li, wr = Qe, sa = Wi, wf = vh, Oo = ft, Om = {
6449
+ const Rm = ph, Cf = li, wr = Qe, sa = Wi, wf = vh, Oo = dt, Om = {
6450
6450
  keyword: "$ref",
6451
6451
  schemaType: "string",
6452
6452
  code(r) {
@@ -6618,7 +6618,7 @@ const xm = /* @__PURE__ */ Pe({
6618
6618
  default: Qm
6619
6619
  }, [zh]), eb = /* @__PURE__ */ ke(xm);
6620
6620
  Object.defineProperty(Sh, "__esModule", { value: !0 });
6621
- const zs = Qe, tb = ft, rb = eb, ib = {
6621
+ const zs = Qe, tb = dt, rb = eb, ib = {
6622
6622
  message({ keyword: r, schemaCode: e }) {
6623
6623
  const t = r === "maxLength" ? "more" : "fewer";
6624
6624
  return (0, zs.str)`must NOT have ${t} than ${e} characters`;
@@ -6687,7 +6687,7 @@ const mb = /* @__PURE__ */ Pe({
6687
6687
  }, [kh]), bb = /* @__PURE__ */ ke(mb);
6688
6688
  var Eh = {};
6689
6689
  Object.defineProperty(Eh, "__esModule", { value: !0 });
6690
- const Na = li, Za = Qe, yb = ft, _b = {
6690
+ const Na = li, Za = Qe, yb = dt, _b = {
6691
6691
  message: ({ params: { missingProperty: r } }) => (0, Za.str)`must have required property '${r}'`,
6692
6692
  params: ({ params: { missingProperty: r } }) => (0, Za._)`{missingProperty: ${r}}`
6693
6693
  }, Tb = {
@@ -6777,7 +6777,7 @@ const Rb = /* @__PURE__ */ Pe({
6777
6777
  default: Mb
6778
6778
  }, [Rh]), Oh = /* @__PURE__ */ ke(Rb);
6779
6779
  Object.defineProperty(Mh, "__esModule", { value: !0 });
6780
- const g0 = Fl, sr = Qe, Ob = ft, Ib = Oh, $b = {
6780
+ const g0 = Fl, sr = Qe, Ob = dt, Ib = Oh, $b = {
6781
6781
  message: ({ params: { i: r, j: e } }) => (0, sr.str)`must NOT have duplicate items (items ## ${e} and ${r} are identical)`,
6782
6782
  params: ({ params: { i: r, j: e } }) => (0, sr._)`{i: ${r}, j: ${e}}`
6783
6783
  }, Db = {
@@ -6822,7 +6822,7 @@ const Lb = /* @__PURE__ */ Pe({
6822
6822
  }, [Mh]), Fb = /* @__PURE__ */ ke(Lb);
6823
6823
  var Ih = {};
6824
6824
  Object.defineProperty(Ih, "__esModule", { value: !0 });
6825
- const l1 = Qe, Ub = ft, Gb = Oh, jb = {
6825
+ const l1 = Qe, Ub = dt, Gb = Oh, jb = {
6826
6826
  message: "must be equal to constant",
6827
6827
  params: ({ schemaCode: r }) => (0, l1._)`{allowedValue: ${r}}`
6828
6828
  }, Bb = {
@@ -6841,7 +6841,7 @@ const Hb = /* @__PURE__ */ Pe({
6841
6841
  }, [Ih]), Wb = /* @__PURE__ */ ke(Hb);
6842
6842
  var $h = {};
6843
6843
  Object.defineProperty($h, "__esModule", { value: !0 });
6844
- const Ba = Qe, qb = ft, Yb = Oh, Xb = {
6844
+ const Ba = Qe, qb = dt, Yb = Oh, Xb = {
6845
6845
  message: "must be equal to one of the allowed values",
6846
6846
  params: ({ schemaCode: r }) => (0, Ba._)`{allowedValues: ${r}}`
6847
6847
  }, Kb = {
@@ -6908,7 +6908,7 @@ const fy = /* @__PURE__ */ Pe({
6908
6908
  var Dh = {}, bo = {};
6909
6909
  Object.defineProperty(bo, "__esModule", { value: !0 });
6910
6910
  var D4 = bo.validateAdditionalItems = void 0;
6911
- const Ps = Qe, h1 = ft, cy = {
6911
+ const Ps = Qe, h1 = dt, cy = {
6912
6912
  message: ({ params: { len: r } }) => (0, Ps.str)`must NOT have more than ${r} items`,
6913
6913
  params: ({ params: { len: r } }) => (0, Ps._)`{limit: ${r}}`
6914
6914
  }, py = {
@@ -6954,7 +6954,7 @@ const vy = /* @__PURE__ */ Pe({
6954
6954
  var Nh = {}, yo = {};
6955
6955
  Object.defineProperty(yo, "__esModule", { value: !0 });
6956
6956
  var F4 = yo.validateTuple = void 0;
6957
- const Sf = Qe, al = ft, my = li, by = {
6957
+ const Sf = Qe, al = dt, my = li, by = {
6958
6958
  keyword: "items",
6959
6959
  type: "array",
6960
6960
  schemaType: ["object", "array", "boolean"],
@@ -7009,7 +7009,7 @@ const Sy = /* @__PURE__ */ Pe({
7009
7009
  }, [Nh]), zy = /* @__PURE__ */ ke(Sy);
7010
7010
  var Lh = {};
7011
7011
  Object.defineProperty(Lh, "__esModule", { value: !0 });
7012
- const zf = Qe, Py = ft, ky = li, Ey = L4, Ay = {
7012
+ const zf = Qe, Py = dt, ky = li, Ey = L4, Ay = {
7013
7013
  message: ({ params: { len: r } }) => (0, zf.str)`must NOT have more than ${r} items`,
7014
7014
  params: ({ params: { len: r } }) => (0, zf._)`{limit: ${r}}`
7015
7015
  }, My = {
@@ -7030,7 +7030,7 @@ const Oy = /* @__PURE__ */ Pe({
7030
7030
  }, [Lh]), Iy = /* @__PURE__ */ ke(Oy);
7031
7031
  var Fh = {};
7032
7032
  Object.defineProperty(Fh, "__esModule", { value: !0 });
7033
- const Hr = Qe, Io = ft, $y = {
7033
+ const Hr = Qe, Io = dt, $y = {
7034
7034
  message: ({ params: { min: r, max: e } }) => e === void 0 ? (0, Hr.str)`must contain at least ${r} valid item(s)` : (0, Hr.str)`must contain at least ${r} and no more than ${e} valid item(s)`,
7035
7035
  params: ({ params: { min: r, max: e } }) => e === void 0 ? (0, Hr._)`{minContains: ${r}}` : (0, Hr._)`{minContains: ${r}, maxContains: ${e}}`
7036
7036
  }, Dy = {
@@ -7089,7 +7089,7 @@ const Ly = /* @__PURE__ */ Pe({
7089
7089
  var Uh = {};
7090
7090
  (function(r) {
7091
7091
  Object.defineProperty(r, "__esModule", { value: !0 }), r.validateSchemaDeps = r.validatePropertyDeps = r.error = void 0;
7092
- const e = Qe, t = ft, i = li;
7092
+ const e = Qe, t = dt, i = li;
7093
7093
  r.error = {
7094
7094
  message: ({ params: { property: l, depsCount: h, deps: u } }) => {
7095
7095
  const d = h === 1 ? "property" : "properties";
@@ -7163,7 +7163,7 @@ const Uy = /* @__PURE__ */ zr(Uh), Gy = /* @__PURE__ */ Pe({
7163
7163
  }, [Uh]), jy = /* @__PURE__ */ ke(Gy);
7164
7164
  var Gh = {};
7165
7165
  Object.defineProperty(Gh, "__esModule", { value: !0 });
7166
- const j4 = Qe, By = ft, Vy = {
7166
+ const j4 = Qe, By = dt, Vy = {
7167
7167
  message: "property name must be valid",
7168
7168
  params: ({ params: r }) => (0, j4._)`{propertyName: ${r.propertyName}}`
7169
7169
  }, Hy = {
@@ -7196,7 +7196,7 @@ const qy = /* @__PURE__ */ Pe({
7196
7196
  }, [Gh]), Yy = /* @__PURE__ */ ke(qy);
7197
7197
  var jh = {};
7198
7198
  Object.defineProperty(jh, "__esModule", { value: !0 });
7199
- const $o = li, ii = Qe, Xy = Wi, Do = ft, Ky = {
7199
+ const $o = li, ii = Qe, Xy = Wi, Do = dt, Ky = {
7200
7200
  message: "must NOT have additional properties",
7201
7201
  params: ({ params: r }) => (0, ii._)`{additionalProperty: ${r.additionalProperty}}`
7202
7202
  }, Zy = {
@@ -7269,7 +7269,7 @@ const Qy = /* @__PURE__ */ Pe({
7269
7269
  }, [jh]), B4 = /* @__PURE__ */ ke(Qy);
7270
7270
  var Bh = {};
7271
7271
  Object.defineProperty(Bh, "__esModule", { value: !0 });
7272
- const xy = mo, Pf = li, v0 = ft, kf = B4, e9 = {
7272
+ const xy = mo, Pf = li, v0 = dt, kf = B4, e9 = {
7273
7273
  keyword: "properties",
7274
7274
  type: "object",
7275
7275
  schemaType: "object",
@@ -7305,7 +7305,7 @@ const r9 = /* @__PURE__ */ Pe({
7305
7305
  }, [Bh]), i9 = /* @__PURE__ */ ke(r9);
7306
7306
  var Vh = {};
7307
7307
  Object.defineProperty(Vh, "__esModule", { value: !0 });
7308
- const Ef = li, No = Qe, Af = ft, Mf = ft, s9 = {
7308
+ const Ef = li, No = Qe, Af = dt, Mf = dt, s9 = {
7309
7309
  keyword: "patternProperties",
7310
7310
  type: "object",
7311
7311
  schemaType: "object",
@@ -7347,7 +7347,7 @@ const n9 = /* @__PURE__ */ Pe({
7347
7347
  }, [Vh]), o9 = /* @__PURE__ */ ke(n9);
7348
7348
  var Hh = {};
7349
7349
  Object.defineProperty(Hh, "__esModule", { value: !0 });
7350
- const l9 = ft, h9 = {
7350
+ const l9 = dt, h9 = {
7351
7351
  keyword: "not",
7352
7352
  schemaType: ["object", "boolean"],
7353
7353
  trackErrors: !0,
@@ -7388,7 +7388,7 @@ const v9 = /* @__PURE__ */ Pe({
7388
7388
  }, [Wh]), m9 = /* @__PURE__ */ ke(v9);
7389
7389
  var qh = {};
7390
7390
  Object.defineProperty(qh, "__esModule", { value: !0 });
7391
- const nl = Qe, b9 = ft, y9 = {
7391
+ const nl = Qe, b9 = dt, y9 = {
7392
7392
  message: "must match exactly one schema in oneOf",
7393
7393
  params: ({ params: r }) => (0, nl._)`{passingSchemas: ${r.passing}}`
7394
7394
  }, _9 = {
@@ -7425,7 +7425,7 @@ const C9 = /* @__PURE__ */ Pe({
7425
7425
  }, [qh]), w9 = /* @__PURE__ */ ke(C9);
7426
7426
  var Yh = {};
7427
7427
  Object.defineProperty(Yh, "__esModule", { value: !0 });
7428
- const S9 = ft, z9 = {
7428
+ const S9 = dt, z9 = {
7429
7429
  keyword: "allOf",
7430
7430
  schemaType: "array",
7431
7431
  code(r) {
@@ -7448,7 +7448,7 @@ const k9 = /* @__PURE__ */ Pe({
7448
7448
  }, [Yh]), E9 = /* @__PURE__ */ ke(k9);
7449
7449
  var Xh = {};
7450
7450
  Object.defineProperty(Xh, "__esModule", { value: !0 });
7451
- const ml = Qe, V4 = ft, A9 = {
7451
+ const ml = Qe, V4 = dt, A9 = {
7452
7452
  message: ({ params: r }) => (0, ml.str)`must match "${r.ifClause}" schema`,
7453
7453
  params: ({ params: r }) => (0, ml._)`{failingKeyword: ${r.ifClause}}`
7454
7454
  }, M9 = {
@@ -7497,7 +7497,7 @@ const O9 = /* @__PURE__ */ Pe({
7497
7497
  }, [Xh]), I9 = /* @__PURE__ */ ke(O9);
7498
7498
  var Kh = {};
7499
7499
  Object.defineProperty(Kh, "__esModule", { value: !0 });
7500
- const $9 = ft, D9 = {
7500
+ const $9 = dt, D9 = {
7501
7501
  keyword: ["then", "else"],
7502
7502
  schemaType: ["object", "boolean"],
7503
7503
  code({ keyword: r, parentSchema: e, it: t }) {
@@ -7662,7 +7662,7 @@ const z7 = /* @__PURE__ */ zr(xh), P7 = /* @__PURE__ */ Pe({
7662
7662
  default: z7
7663
7663
  }, [xh]), k7 = /* @__PURE__ */ ke(P7);
7664
7664
  Object.defineProperty(Qh, "__esModule", { value: !0 });
7665
- const ua = Qe, u1 = k7, If = vh, E7 = ft, A7 = {
7665
+ const ua = Qe, u1 = k7, If = vh, E7 = dt, A7 = {
7666
7666
  message: ({ params: { discrError: r, tagName: e } }) => r === u1.DiscrError.Tag ? `tag "${e}" must be string` : `value of tag "${e}" must be in oneOf`,
7667
7667
  params: ({ params: { discrError: r, tag: e, tagName: t } }) => (0, ua._)`{error: ${r}, tag: ${t}, tagValue: ${e}}`
7668
7668
  }, M7 = {
@@ -8731,7 +8731,7 @@ function dR(r) {
8731
8731
  !1
8732
8732
  );
8733
8733
  }
8734
- class Rt {
8734
+ class it {
8735
8735
  static onDocumentReady(e) {
8736
8736
  function t() {
8737
8737
  document.readyState !== "loading" && (e(), document.removeEventListener("DOMContentLoaded", t));
@@ -9344,7 +9344,7 @@ class Wt {
9344
9344
  return this.prop("value", e);
9345
9345
  }
9346
9346
  }
9347
- class Et {
9347
+ class At {
9348
9348
  constructor() {
9349
9349
  }
9350
9350
  // Control Meta | Alt | Shift Option
@@ -9526,7 +9526,7 @@ let cn = class extends dn {
9526
9526
  this.x = e.x, this.y = e.y, this.width = e.width, this.height = e.height;
9527
9527
  }
9528
9528
  };
9529
- class Tt extends dn {
9529
+ class Ct extends dn {
9530
9530
  radius;
9531
9531
  constructor(e) {
9532
9532
  super(e), this.radius = e?.radius ?? 0;
@@ -9550,7 +9550,7 @@ class Tt extends dn {
9550
9550
  return this.x === e.x && this.y === e.y;
9551
9551
  }
9552
9552
  midPointBtw(e) {
9553
- return new Tt({
9553
+ return new Ct({
9554
9554
  x: this.x + (e.x - this.x) / 2,
9555
9555
  y: this.y + (e.y - this.y) / 2
9556
9556
  });
@@ -9595,7 +9595,7 @@ class Tt extends dn {
9595
9595
  this.x + this.radius > s ? (this.x = s - this.radius, this.vx *= n) : this.x - this.radius < t && (this.x = t + this.radius, this.vx *= n), this.y + this.radius > a ? (this.y = a - this.radius, this.vy *= n) : this.y - this.radius < i && (this.y = i + this.radius, this.vy *= n);
9596
9596
  }
9597
9597
  }
9598
- class tp extends Tt {
9598
+ class tp extends Ct {
9599
9599
  constructor(e = { x: 0, y: 0 }) {
9600
9600
  super(e);
9601
9601
  }
@@ -9960,7 +9960,7 @@ var ip = { exports: {} };
9960
9960
  var C = v.ownerDocument || v;
9961
9961
  return C.defaultView || C.parentWindow || e;
9962
9962
  }
9963
- var ye = /mobile|tablet|ip(ad|hone|od)|android/i, se = "ontouchstart" in e, K = x(e, "PointerEvent") !== s, M = se && ye.test(navigator.userAgent), E = "touch", P = "pen", z = "mouse", D = "kinect", j = 25, N = 1, H = 2, q = 4, Q = 8, re = 1, ce = 2, Se = 4, Re = 8, we = 16, Ee = ce | Se, Fe = Re | we, Be = Ee | Fe, Ae = ["x", "y"], ot = ["clientX", "clientY"];
9963
+ var ye = /mobile|tablet|ip(ad|hone|od)|android/i, se = "ontouchstart" in e, K = x(e, "PointerEvent") !== s, M = se && ye.test(navigator.userAgent), E = "touch", P = "pen", z = "mouse", D = "kinect", j = 25, N = 1, H = 2, q = 4, Q = 8, re = 1, ce = 2, Se = 4, Re = 8, we = 16, Ee = ce | Se, Fe = Re | we, Be = Ee | Fe, Ae = ["x", "y"], lt = ["clientX", "clientY"];
9964
9964
  function Ze(v, C) {
9965
9965
  var R = this;
9966
9966
  this.manager = v, this.callback = C, this.element = v.element, this.target = v.options.inputTarget, this.domHandler = function(L) {
@@ -9987,7 +9987,7 @@ var ip = { exports: {} };
9987
9987
  this.evEl && I(this.element, this.evEl, this.domHandler), this.evTarget && I(this.target, this.evTarget, this.domHandler), this.evWin && I(Ce(this.element), this.evWin, this.domHandler);
9988
9988
  }
9989
9989
  };
9990
- function ut(v) {
9990
+ function ft(v) {
9991
9991
  var C, R = v.options.inputClass;
9992
9992
  return R ? C = R : K ? C = br : M ? C = Fr : se ? C = Z : C = Ar, new C(v, Ve);
9993
9993
  }
@@ -9999,13 +9999,13 @@ var ip = { exports: {} };
9999
9999
  var R = v.session, L = C.pointers, F = L.length;
10000
10000
  R.firstInput || (R.firstInput = mr(C)), F > 1 && !R.firstMultiple ? R.firstMultiple = mr(C) : F === 1 && (R.firstMultiple = !1);
10001
10001
  var B = R.firstInput, X = R.firstMultiple, te = X ? X.center : B.center, ue = C.center = nr(L);
10002
- C.timeStamp = u(), C.deltaTime = C.timeStamp - B.timeStamp, C.angle = Er(te, ue), C.distance = kr(te, ue), At(R, C), C.offsetDirection = ir(C.deltaX, C.deltaY);
10002
+ C.timeStamp = u(), C.deltaTime = C.timeStamp - B.timeStamp, C.angle = Er(te, ue), C.distance = kr(te, ue), Mt(R, C), C.offsetDirection = ir(C.deltaX, C.deltaY);
10003
10003
  var ae = It(C.deltaTime, C.deltaX, C.deltaY);
10004
10004
  C.overallVelocityX = ae.x, C.overallVelocityY = ae.y, C.overallVelocity = h(ae.x) > h(ae.y) ? ae.x : ae.y, C.scale = X ? Ft(X.pointers, L) : 1, C.rotation = X ? Nr(X.pointers, L) : 0, C.maxPointers = R.prevInput ? C.pointers.length > R.prevInput.maxPointers ? C.pointers.length : R.prevInput.maxPointers : C.pointers.length, Qt(R, C);
10005
10005
  var ie = v.element;
10006
10006
  $(C.srcEvent.target, ie) && (ie = C.srcEvent.target), C.target = ie;
10007
10007
  }
10008
- function At(v, C) {
10008
+ function Mt(v, C) {
10009
10009
  var R = C.center, L = v.offsetDelta || {}, F = v.prevDelta || {}, B = v.prevInput || {};
10010
10010
  (C.eventType === N || B.eventType === q) && (F = v.prevDelta = {
10011
10011
  x: B.deltaX || 0,
@@ -10072,18 +10072,18 @@ var ip = { exports: {} };
10072
10072
  return Math.atan2(F, L) * 180 / Math.PI;
10073
10073
  }
10074
10074
  function Nr(v, C) {
10075
- return Er(C[1], C[0], ot) + Er(v[1], v[0], ot);
10075
+ return Er(C[1], C[0], lt) + Er(v[1], v[0], lt);
10076
10076
  }
10077
10077
  function Ft(v, C) {
10078
- return kr(C[0], C[1], ot) / kr(v[0], v[1], ot);
10078
+ return kr(C[0], C[1], lt) / kr(v[0], v[1], lt);
10079
10079
  }
10080
10080
  var Lr = {
10081
10081
  mousedown: N,
10082
10082
  mousemove: H,
10083
10083
  mouseup: q
10084
- }, Kr = "mousedown", Ct = "mousemove mouseup";
10084
+ }, Kr = "mousedown", wt = "mousemove mouseup";
10085
10085
  function Ar() {
10086
- this.evEl = Kr, this.evWin = Ct, this.pressed = !1, Ze.apply(this, arguments);
10086
+ this.evEl = Kr, this.evWin = wt, this.pressed = !1, Ze.apply(this, arguments);
10087
10087
  }
10088
10088
  T(Ar, Ze, {
10089
10089
  /**
@@ -10132,7 +10132,7 @@ var ip = { exports: {} };
10132
10132
  }), L && R.splice(ue, 1));
10133
10133
  }
10134
10134
  });
10135
- var Mt = {
10135
+ var Rt = {
10136
10136
  touchstart: N,
10137
10137
  touchmove: H,
10138
10138
  touchend: q,
@@ -10143,7 +10143,7 @@ var ip = { exports: {} };
10143
10143
  }
10144
10144
  T(Qr, Ze, {
10145
10145
  handler: function(C) {
10146
- var R = Mt[C.type];
10146
+ var R = Rt[C.type];
10147
10147
  if (R === N && (this.started = !0), !!this.started) {
10148
10148
  var L = yr.call(this, C, R);
10149
10149
  R & (q | Q) && L[0].length - L[1].length === 0 && (this.started = !1), this.callback(this.manager, R, {
@@ -10251,7 +10251,7 @@ var ip = { exports: {} };
10251
10251
  }
10252
10252
  return !1;
10253
10253
  }
10254
- var $e = x(n.style, "touchAction"), Oe = $e !== s, rt = "compute", wt = "auto", lt = "manipulation", Ye = "none", Je = "pan-x", dt = "pan-y", Ge = Ut();
10254
+ var $e = x(n.style, "touchAction"), Oe = $e !== s, rt = "compute", St = "auto", ht = "manipulation", Ye = "none", Je = "pan-x", ct = "pan-y", Ge = Ut();
10255
10255
  function De(v, C) {
10256
10256
  this.manager = v, this.set(C);
10257
10257
  }
@@ -10277,7 +10277,7 @@ var ip = { exports: {} };
10277
10277
  var v = [];
10278
10278
  return f(this.manager.recognizers, function(C) {
10279
10279
  w(C.options.enable, [C]) && (v = v.concat(C.getTouchAction()));
10280
- }), ct(v.join(" "));
10280
+ }), pt(v.join(" "));
10281
10281
  },
10282
10282
  /**
10283
10283
  * this method is called on each input cycle and provides the preventing of the browser behavior
@@ -10289,7 +10289,7 @@ var ip = { exports: {} };
10289
10289
  C.preventDefault();
10290
10290
  return;
10291
10291
  }
10292
- var L = this.actions, F = G(L, Ye) && !Ge[Ye], B = G(L, dt) && !Ge[dt], X = G(L, Je) && !Ge[Je];
10292
+ var L = this.actions, F = G(L, Ye) && !Ge[Ye], B = G(L, ct) && !Ge[ct], X = G(L, Je) && !Ge[Je];
10293
10293
  if (F) {
10294
10294
  var te = v.pointers.length === 1, ue = v.distance < 2, ae = v.deltaTime < 250;
10295
10295
  if (te && ue && ae)
@@ -10306,11 +10306,11 @@ var ip = { exports: {} };
10306
10306
  this.manager.session.prevented = !0, v.preventDefault();
10307
10307
  }
10308
10308
  };
10309
- function ct(v) {
10309
+ function pt(v) {
10310
10310
  if (G(v, Ye))
10311
10311
  return Ye;
10312
- var C = G(v, Je), R = G(v, dt);
10313
- return C && R ? Ye : C || R ? C ? Je : dt : G(v, lt) ? lt : wt;
10312
+ var C = G(v, Je), R = G(v, ct);
10313
+ return C && R ? Ye : C || R ? C ? Je : ct : G(v, ht) ? ht : St;
10314
10314
  }
10315
10315
  function Ut() {
10316
10316
  if (!Oe)
@@ -10320,7 +10320,7 @@ var ip = { exports: {} };
10320
10320
  v[R] = C ? e.CSS.supports("touch-action", R) : !0;
10321
10321
  }), v;
10322
10322
  }
10323
- var _r = 1, mt = 2, Vt = 4, qt = 8, Ht = qt, $t = 16, at = 32;
10323
+ var _r = 1, bt = 2, Vt = 4, qt = 8, Ht = qt, $t = 16, nt = 32;
10324
10324
  function Ue(v) {
10325
10325
  this.options = g({}, this.defaults, v || {}), this.id = Te(), this.manager = null, this.options.enable = O(this.options.enable, !0), this.state = _r, this.simultaneous = {}, this.requireFail = [];
10326
10326
  }
@@ -10416,7 +10416,7 @@ var ip = { exports: {} };
10416
10416
  tryEmit: function(v) {
10417
10417
  if (this.canEmit())
10418
10418
  return this.emit(v);
10419
- this.state = at;
10419
+ this.state = nt;
10420
10420
  },
10421
10421
  /**
10422
10422
  * can we emit?
@@ -10424,7 +10424,7 @@ var ip = { exports: {} };
10424
10424
  */
10425
10425
  canEmit: function() {
10426
10426
  for (var v = 0; v < this.requireFail.length; ) {
10427
- if (!(this.requireFail[v].state & (at | _r)))
10427
+ if (!(this.requireFail[v].state & (nt | _r)))
10428
10428
  return !1;
10429
10429
  v++;
10430
10430
  }
@@ -10437,10 +10437,10 @@ var ip = { exports: {} };
10437
10437
  recognize: function(v) {
10438
10438
  var C = g({}, v);
10439
10439
  if (!w(this.options.enable, [this, C])) {
10440
- this.reset(), this.state = at;
10440
+ this.reset(), this.state = nt;
10441
10441
  return;
10442
10442
  }
10443
- this.state & (Ht | $t | at) && (this.state = _r), this.state = this.process(C), this.state & (mt | Vt | qt | $t) && this.tryEmit(C);
10443
+ this.state & (Ht | $t | nt) && (this.state = _r), this.state = this.process(C), this.state & (bt | Vt | qt | $t) && this.tryEmit(C);
10444
10444
  },
10445
10445
  /**
10446
10446
  * return the state of the recognizer
@@ -10468,7 +10468,7 @@ var ip = { exports: {} };
10468
10468
  }
10469
10469
  };
10470
10470
  function or(v) {
10471
- return v & $t ? "cancel" : v & qt ? "end" : v & Vt ? "move" : v & mt ? "start" : "";
10471
+ return v & $t ? "cancel" : v & qt ? "end" : v & Vt ? "move" : v & bt ? "start" : "";
10472
10472
  }
10473
10473
  function ei(v) {
10474
10474
  return v == we ? "down" : v == Re ? "up" : v == ce ? "left" : v == Se ? "right" : "";
@@ -10509,8 +10509,8 @@ var ip = { exports: {} };
10509
10509
  * @returns {*} State
10510
10510
  */
10511
10511
  process: function(v) {
10512
- var C = this.state, R = v.eventType, L = C & (mt | Vt), F = this.attrTest(v);
10513
- return L && (R & Q || !F) ? C | $t : L || F ? R & q ? C | qt : C & mt ? C | Vt : mt : at;
10512
+ var C = this.state, R = v.eventType, L = C & (bt | Vt), F = this.attrTest(v);
10513
+ return L && (R & Q || !F) ? C | $t : L || F ? R & q ? C | qt : C & bt ? C | Vt : bt : nt;
10514
10514
  }
10515
10515
  });
10516
10516
  function Yt() {
@@ -10529,14 +10529,14 @@ var ip = { exports: {} };
10529
10529
  },
10530
10530
  getTouchAction: function() {
10531
10531
  var v = this.options.direction, C = [];
10532
- return v & Ee && C.push(dt), v & Fe && C.push(Je), C;
10532
+ return v & Ee && C.push(ct), v & Fe && C.push(Je), C;
10533
10533
  },
10534
10534
  directionTest: function(v) {
10535
10535
  var C = this.options, R = !0, L = v.distance, F = v.direction, B = v.deltaX, X = v.deltaY;
10536
10536
  return F & C.direction || (C.direction & Ee ? (F = B === 0 ? re : B < 0 ? ce : Se, R = B != this.pX, L = Math.abs(v.deltaX)) : (F = X === 0 ? re : X < 0 ? Re : we, R = X != this.pY, L = Math.abs(v.deltaY))), v.direction = F, R && L > C.threshold && F & C.direction;
10537
10537
  },
10538
10538
  attrTest: function(v) {
10539
- return xt.prototype.attrTest.call(this, v) && (this.state & mt || !(this.state & mt) && this.directionTest(v));
10539
+ return xt.prototype.attrTest.call(this, v) && (this.state & bt || !(this.state & bt) && this.directionTest(v));
10540
10540
  },
10541
10541
  emit: function(v) {
10542
10542
  this.pX = v.deltaX, this.pY = v.deltaY;
@@ -10561,7 +10561,7 @@ var ip = { exports: {} };
10561
10561
  return [Ye];
10562
10562
  },
10563
10563
  attrTest: function(v) {
10564
- return this._super.attrTest.call(this, v) && (Math.abs(v.scale - 1) > this.options.threshold || this.state & mt);
10564
+ return this._super.attrTest.call(this, v) && (Math.abs(v.scale - 1) > this.options.threshold || this.state & bt);
10565
10565
  },
10566
10566
  emit: function(v) {
10567
10567
  if (v.scale !== 1) {
@@ -10588,7 +10588,7 @@ var ip = { exports: {} };
10588
10588
  // a minimal movement is ok, but keep it low
10589
10589
  },
10590
10590
  getTouchAction: function() {
10591
- return [wt];
10591
+ return [St];
10592
10592
  },
10593
10593
  process: function(v) {
10594
10594
  var C = this.options, R = v.pointers.length === C.pointers, L = v.distance < C.threshold, F = v.deltaTime > C.time;
@@ -10600,7 +10600,7 @@ var ip = { exports: {} };
10600
10600
  }, C.time, this);
10601
10601
  else if (v.eventType & q)
10602
10602
  return Ht;
10603
- return at;
10603
+ return nt;
10604
10604
  },
10605
10605
  reset: function() {
10606
10606
  clearTimeout(this._timer);
@@ -10626,7 +10626,7 @@ var ip = { exports: {} };
10626
10626
  return [Ye];
10627
10627
  },
10628
10628
  attrTest: function(v) {
10629
- return this._super.attrTest.call(this, v) && (Math.abs(v.rotation) > this.options.threshold || this.state & mt);
10629
+ return this._super.attrTest.call(this, v) && (Math.abs(v.rotation) > this.options.threshold || this.state & bt);
10630
10630
  }
10631
10631
  });
10632
10632
  function Ur() {
@@ -10678,7 +10678,7 @@ var ip = { exports: {} };
10678
10678
  // a multi-tap can be a bit off the initial position
10679
10679
  },
10680
10680
  getTouchAction: function() {
10681
- return [lt];
10681
+ return [ht];
10682
10682
  },
10683
10683
  process: function(v) {
10684
10684
  var C = this.options, R = v.pointers.length === C.pointers, L = v.distance < C.threshold, F = v.deltaTime < C.time;
@@ -10693,14 +10693,14 @@ var ip = { exports: {} };
10693
10693
  if (te === 0)
10694
10694
  return this.hasRequireFailures() ? (this._timer = d(function() {
10695
10695
  this.state = Ht, this.tryEmit();
10696
- }, C.interval, this), mt) : Ht;
10696
+ }, C.interval, this), bt) : Ht;
10697
10697
  }
10698
- return at;
10698
+ return nt;
10699
10699
  },
10700
10700
  failTimeout: function() {
10701
10701
  return this._timer = d(function() {
10702
- this.state = at;
10703
- }, this.options.interval, this), at;
10702
+ this.state = nt;
10703
+ }, this.options.interval, this), nt;
10704
10704
  },
10705
10705
  reset: function() {
10706
10706
  clearTimeout(this._timer);
@@ -10810,7 +10810,7 @@ var ip = { exports: {} };
10810
10810
  };
10811
10811
  var bs = 1, Xt = 2;
10812
10812
  function ys(v, C) {
10813
- this.options = g({}, jr.defaults, C || {}), this.options.inputTarget = this.options.inputTarget || v, this.handlers = {}, this.session = {}, this.recognizers = [], this.oldCssProps = {}, this.element = v, this.input = ut(this), this.touchAction = new De(this, this.options.touchAction), b(this, !0), f(this.options.recognizers, function(R) {
10813
+ this.options = g({}, jr.defaults, C || {}), this.options.inputTarget = this.options.inputTarget || v, this.handlers = {}, this.session = {}, this.recognizers = [], this.oldCssProps = {}, this.element = v, this.input = ft(this), this.touchAction = new De(this, this.options.touchAction), b(this, !0), f(this.options.recognizers, function(R) {
10814
10814
  var L = this.add(new R[0](R[1]));
10815
10815
  R[2] && L.recognizeWith(R[2]), R[3] && L.requireFailure(R[3]);
10816
10816
  }, this);
@@ -10848,7 +10848,7 @@ var ip = { exports: {} };
10848
10848
  for (var B = 0; B < L.length; )
10849
10849
  R = L[B], C.stopped !== Xt && // 1
10850
10850
  (!F || R == F || // 2
10851
- R.canRecognizeWith(F)) ? R.recognize(v) : R.reset(), !F && R.state & (mt | Vt | qt) && (F = C.curRecognizer = R), B++;
10851
+ R.canRecognizeWith(F)) ? R.recognize(v) : R.reset(), !F && R.state & (bt | Vt | qt) && (F = C.curRecognizer = R), B++;
10852
10852
  }
10853
10853
  },
10854
10854
  /**
@@ -10961,12 +10961,12 @@ var ip = { exports: {} };
10961
10961
  INPUT_END: q,
10962
10962
  INPUT_CANCEL: Q,
10963
10963
  STATE_POSSIBLE: _r,
10964
- STATE_BEGAN: mt,
10964
+ STATE_BEGAN: bt,
10965
10965
  STATE_CHANGED: Vt,
10966
10966
  STATE_ENDED: qt,
10967
10967
  STATE_RECOGNIZED: Ht,
10968
10968
  STATE_CANCELLED: $t,
10969
- STATE_FAILED: at,
10969
+ STATE_FAILED: nt,
10970
10970
  DIRECTION_NONE: re,
10971
10971
  DIRECTION_LEFT: ce,
10972
10972
  DIRECTION_RIGHT: Se,
@@ -11069,7 +11069,7 @@ class g_ extends rp {
11069
11069
  );
11070
11070
  }
11071
11071
  on(e, t) {
11072
- const i = Et.on(e, (a) => (this.app.emit("keyDown", a, i), t)), s = () => {
11072
+ const i = At.on(e, (a) => (this.app.emit("keyDown", a, i), t)), s = () => {
11073
11073
  i.removeListener?.();
11074
11074
  };
11075
11075
  return this.removeEventListeners.push(s), s;
@@ -13420,7 +13420,7 @@ let up = class fp {
13420
13420
  // 目的地
13421
13421
  point;
13422
13422
  constructor(e) {
13423
- this.point = new Tt(e);
13423
+ this.point = new Ct(e);
13424
13424
  }
13425
13425
  static fromSVGPathData(e) {
13426
13426
  if (e.length < 3)
@@ -13483,7 +13483,7 @@ let up = class fp {
13483
13483
  class xa extends up {
13484
13484
  ctrlPoints = [];
13485
13485
  constructor(e) {
13486
- super(e), this.ctrlPoints.push(new Tt({ x: e.c1x, y: e.c1y })), this.ctrlPoints.push(new Tt({ x: e.c2x, y: e.c2y }));
13486
+ super(e), this.ctrlPoints.push(new Ct({ x: e.c1x, y: e.c1y })), this.ctrlPoints.push(new Ct({ x: e.c2x, y: e.c2y }));
13487
13487
  }
13488
13488
  // C c1x,c1y c2x,c2y x,y
13489
13489
  static fromSVGPathData(e) {
@@ -13525,7 +13525,7 @@ class ga {
13525
13525
  this.startPoint = e?.startPoint ?? null, this.isClosed = e?.isClosed ?? !1, e?.lines?.forEach(this.addLine), this.normalize();
13526
13526
  }
13527
13527
  setStartPoint(e, t) {
13528
- return this.startPoint = new Tt({ x: e, y: t }), this;
13528
+ return this.startPoint = new Ct({ x: e, y: t }), this;
13529
13529
  }
13530
13530
  addLine(e) {
13531
13531
  return this.lines.push(e), this;
@@ -13778,16 +13778,16 @@ var cp = { exports: {} };
13778
13778
  return b;
13779
13779
  }, Ae = l._rectPath = function(b, S, A, v, C) {
13780
13780
  return C ? [["M", b + C, S], ["l", A - 2 * C, 0], ["a", C, C, 0, 0, 1, C, C], ["l", 0, v - 2 * C], ["a", C, C, 0, 0, 1, -C, C], ["l", 2 * C - A, 0], ["a", C, C, 0, 0, 1, -C, -C], ["l", 0, 2 * C - v], ["a", C, C, 0, 0, 1, C, -C], ["z"]] : [["M", b, S], ["l", A, 0], ["l", 0, v], ["l", -A, 0], ["z"]];
13781
- }, ot = function(b, S, A, v) {
13781
+ }, lt = function(b, S, A, v) {
13782
13782
  return v == null && (v = A), [["M", b, S], ["m", 0, -v], ["a", A, v, 0, 1, 1, 0, 2 * v], ["a", A, v, 0, 1, 1, 0, -2 * v], ["z"]];
13783
13783
  }, Ze = l._getPath = { path: function(b) {
13784
13784
  return b.attr("path");
13785
13785
  }, circle: function(b) {
13786
13786
  var S = b.attrs;
13787
- return ot(S.cx, S.cy, S.r);
13787
+ return lt(S.cx, S.cy, S.r);
13788
13788
  }, ellipse: function(b) {
13789
13789
  var S = b.attrs;
13790
- return ot(S.cx, S.cy, S.rx, S.ry);
13790
+ return lt(S.cx, S.cy, S.rx, S.ry);
13791
13791
  }, rect: function(b) {
13792
13792
  var S = b.attrs;
13793
13793
  return Ae(S.x, S.y, S.width, S.height, S.r);
@@ -13800,7 +13800,7 @@ var cp = { exports: {} };
13800
13800
  }, set: function(b) {
13801
13801
  var S = b._getBBox();
13802
13802
  return Ae(S.x, S.y, S.width, S.height);
13803
- } }, ut = l.mapPath = function(b, S) {
13803
+ } }, ft = l.mapPath = function(b, S) {
13804
13804
  if (!S)
13805
13805
  return b;
13806
13806
  var A, v, C, R, L, F, B;
@@ -13815,12 +13815,12 @@ var cp = { exports: {} };
13815
13815
  return l.type = O;
13816
13816
  Ot = null;
13817
13817
  }
13818
- function At(b) {
13818
+ function Mt(b) {
13819
13819
  if (typeof b == "function" || Object(b) !== b)
13820
13820
  return b;
13821
13821
  var S = new b.constructor();
13822
13822
  for (var A in b)
13823
- b[p](A) && (S[A] = At(b[A]));
13823
+ b[p](A) && (S[A] = Mt(b[A]));
13824
13824
  return S;
13825
13825
  }
13826
13826
  l.svg = !(l.vml = l.type == "VML"), l._Paper = _, l.fn = u = _.prototype = l.prototype, l._id = 0, l.is = function(b, S) {
@@ -13970,11 +13970,11 @@ var cp = { exports: {} };
13970
13970
  }, l.parsePathString = function(b) {
13971
13971
  if (!b)
13972
13972
  return null;
13973
- var S = Ct(b);
13973
+ var S = wt(b);
13974
13974
  if (S.arr)
13975
- return Mt(S.arr);
13975
+ return Rt(S.arr);
13976
13976
  var A = { a: 7, c: 6, h: 1, l: 2, m: 2, r: 4, q: 4, s: 4, t: 2, v: 1, z: 0 }, v = [];
13977
- return l.is(b, se) && l.is(b[0], se) && (v = Mt(b)), v.length || I(b).replace(Se, function(C, R, L) {
13977
+ return l.is(b, se) && l.is(b[0], se) && (v = Rt(b)), v.length || I(b).replace(Se, function(C, R, L) {
13978
13978
  var F = [], B = R.toLowerCase();
13979
13979
  if (L.replace(we, function(X, te) {
13980
13980
  te && F.push(+te);
@@ -13983,12 +13983,12 @@ var cp = { exports: {} };
13983
13983
  else
13984
13984
  for (; F.length >= A[B] && (v.push([R][m](F.splice(0, A[B]))), A[B]); )
13985
13985
  ;
13986
- }), v.toString = l._path2string, S.arr = Mt(v), v;
13986
+ }), v.toString = l._path2string, S.arr = Rt(v), v;
13987
13987
  }, l.parseTransformString = Ft(function(b) {
13988
13988
  if (!b)
13989
13989
  return null;
13990
13990
  var S = [];
13991
- return l.is(b, se) && l.is(b[0], se) && (S = Mt(b)), S.length || I(b).replace(Re, function(A, v, C) {
13991
+ return l.is(b, se) && l.is(b[0], se) && (S = Rt(b)), S.length || I(b).replace(Re, function(A, v, C) {
13992
13992
  var R = [];
13993
13993
  V.call(v), C.replace(we, function(L, F) {
13994
13994
  F && R.push(+F);
@@ -14004,8 +14004,8 @@ var cp = { exports: {} };
14004
14004
  }
14005
14005
  return S;
14006
14006
  });
14007
- var Ct = function(b) {
14008
- var S = Ct.ps = Ct.ps || {};
14007
+ var wt = function(b) {
14008
+ var S = wt.ps = wt.ps || {};
14009
14009
  return S[b] ? S[b].sleep = 100 : S[b] = { sleep: 100 }, setTimeout(function() {
14010
14010
  for (var A in S)
14011
14011
  S[p](A) && A != b && (S[A].sleep--, !S[A].sleep && delete S[A]);
@@ -14108,9 +14108,9 @@ var cp = { exports: {} };
14108
14108
  };
14109
14109
  };
14110
14110
  var br = l.pathBBox = function(b) {
14111
- var S = Ct(b);
14111
+ var S = wt(b);
14112
14112
  if (S.bbox)
14113
- return At(S.bbox);
14113
+ return Mt(S.bbox);
14114
14114
  if (!b)
14115
14115
  return { x: 0, y: 0, width: 0, height: 0, x2: 0, y2: 0 };
14116
14116
  for (var A, v = 0, C = 0, R = [], L = [], F = 0, B = (b = Si(b)).length; F < B; F++)
@@ -14121,14 +14121,14 @@ var cp = { exports: {} };
14121
14121
  R = R[m](X.min.x, X.max.x), L = L[m](X.min.y, X.max.y), v = A[5], C = A[6];
14122
14122
  }
14123
14123
  var te = x[T](0, R), ue = x[T](0, L), ae = ee[T](0, R), ie = ee[T](0, L), fe = ae - te, ge = ie - ue, de = { x: te, y: ue, x2: ae, y2: ie, width: fe, height: ge, cx: te + fe / 2, cy: ue + ge / 2 };
14124
- return S.bbox = At(de), de;
14125
- }, Mt = function(b) {
14126
- var S = At(b);
14124
+ return S.bbox = Mt(de), de;
14125
+ }, Rt = function(b) {
14126
+ var S = Mt(b);
14127
14127
  return S.toString = l._path2string, S;
14128
14128
  }, Js = l._pathToRelative = function(b) {
14129
- var S = Ct(b);
14129
+ var S = wt(b);
14130
14130
  if (S.rel)
14131
- return Mt(S.rel);
14131
+ return Rt(S.rel);
14132
14132
  l.is(b, se) && l.is(b && b[0], se) || (b = l.parsePathString(b));
14133
14133
  var A = [], v = 0, C = 0, R = 0, L = 0, F = 0;
14134
14134
  b[0][0] == "M" && (R = v = b[0][1], L = C = b[0][2], F++, A.push(["M", v, C]));
@@ -14168,11 +14168,11 @@ var cp = { exports: {} };
14168
14168
  v += +A[B][de - 2], C += +A[B][de - 1];
14169
14169
  }
14170
14170
  }
14171
- return A.toString = l._path2string, S.rel = Mt(A), A;
14171
+ return A.toString = l._path2string, S.rel = Rt(A), A;
14172
14172
  }, Jr = l._pathToAbsolute = function(b) {
14173
- var S = Ct(b);
14173
+ var S = wt(b);
14174
14174
  if (S.abs)
14175
- return Mt(S.abs);
14175
+ return Rt(S.abs);
14176
14176
  if (l.is(b, se) && l.is(b && b[0], se) || (b = l.parsePathString(b)), !b || !b.length)
14177
14177
  return [["M", 0, 0]];
14178
14178
  var A = [], v = 0, C = 0, R = 0, L = 0, F = 0;
@@ -14221,7 +14221,7 @@ var cp = { exports: {} };
14221
14221
  v = B[B.length - 2], C = B[B.length - 1];
14222
14222
  }
14223
14223
  }
14224
- return A.toString = l._path2string, S.abs = Mt(A), A;
14224
+ return A.toString = l._path2string, S.abs = Rt(A), A;
14225
14225
  }, Qr = function(b, S, A, v) {
14226
14226
  return [b, S, A, v, A, v];
14227
14227
  }, yr = function(b, S, A, v, C, R) {
@@ -14258,9 +14258,9 @@ var cp = { exports: {} };
14258
14258
  var B, X = C - 2 * A + b - (L - 2 * C + A), te = 2 * (A - b) - 2 * (C - A), ue = b - A, ae = (-te + Y.sqrt(te * te - 4 * X * ue)) / 2 / X, ie = (-te - Y.sqrt(te * te - 4 * X * ue)) / 2 / X, fe = [S, F], ge = [b, L];
14259
14259
  return ne(ae) > "1e12" && (ae = 0.5), ne(ie) > "1e12" && (ie = 0.5), ae > 0 && ae < 1 && (B = xr(b, S, A, v, C, R, L, F, ae), ge.push(B.x), fe.push(B.y)), ie > 0 && ie < 1 && (B = xr(b, S, A, v, C, R, L, F, ie), ge.push(B.x), fe.push(B.y)), X = R - 2 * v + S - (F - 2 * R + v), ue = S - v, ae = (-(te = 2 * (v - S) - 2 * (R - v)) + Y.sqrt(te * te - 4 * X * ue)) / 2 / X, ie = (-te - Y.sqrt(te * te - 4 * X * ue)) / 2 / X, ne(ae) > "1e12" && (ae = 0.5), ne(ie) > "1e12" && (ie = 0.5), ae > 0 && ae < 1 && (B = xr(b, S, A, v, C, R, L, F, ae), ge.push(B.x), fe.push(B.y)), ie > 0 && ie < 1 && (B = xr(b, S, A, v, C, R, L, F, ie), ge.push(B.x), fe.push(B.y)), { min: { x: x[T](0, ge), y: x[T](0, fe) }, max: { x: ee[T](0, ge), y: ee[T](0, fe) } };
14260
14260
  }), Si = l._path2curve = Ft(function(b, S) {
14261
- var A = !S && Ct(b);
14261
+ var A = !S && wt(b);
14262
14262
  if (!S && A.curve)
14263
- return Mt(A.curve);
14263
+ return Rt(A.curve);
14264
14264
  for (var v = Jr(b), C = S && Jr(S), R = { x: 0, y: 0, bx: 0, by: 0, X: 0, Y: 0, qx: null, qy: null }, L = { x: 0, y: 0, bx: 0, by: 0, X: 0, Y: 0, qx: null, qy: null }, F = function(_e, me, We) {
14265
14265
  var je, qe;
14266
14266
  if (!_e)
@@ -14308,8 +14308,8 @@ var cp = { exports: {} };
14308
14308
  var de = v[fe], he = C && C[fe], ze = de.length, ve = C && he.length;
14309
14309
  R.x = de[ze - 2], R.y = de[ze - 1], R.bx = D(de[ze - 4]) || R.x, R.by = D(de[ze - 3]) || R.y, L.bx = C && (D(he[ve - 4]) || L.x), L.by = C && (D(he[ve - 3]) || L.y), L.x = C && he[ve - 2], L.y = C && he[ve - 1];
14310
14310
  }
14311
- return C || (A.curve = Mt(v)), C ? [v, C] : v;
14312
- }, null, Mt), zi = (l._parseDots = Ft(function(b) {
14311
+ return C || (A.curve = Rt(v)), C ? [v, C] : v;
14312
+ }, null, Rt), zi = (l._parseDots = Ft(function(b) {
14313
14313
  for (var S = [], A = 0, v = b.length; A < v; A++) {
14314
14314
  var C = {}, R = b[A].match(/^([^:]*):?([\d\.]*)/);
14315
14315
  if (C.color = l.getRGB(R[1]), C.color.error)
@@ -14344,7 +14344,7 @@ var cp = { exports: {} };
14344
14344
  } };
14345
14345
  return Z(v, S), v.matrix;
14346
14346
  }), Z = (l.transformPath = function(b, S) {
14347
- return ut(b, W(b, S));
14347
+ return ft(b, W(b, S));
14348
14348
  }, l._extractTransform = function(b, S) {
14349
14349
  if (S == null)
14350
14350
  return b._.transform;
@@ -14447,21 +14447,21 @@ var cp = { exports: {} };
14447
14447
  return this.originalEvent.preventDefault();
14448
14448
  }, rt = function() {
14449
14449
  this.cancelBubble = !0;
14450
- }, wt = function() {
14450
+ }, St = function() {
14451
14451
  return this.originalEvent.stopPropagation();
14452
- }, lt = function(b) {
14452
+ }, ht = function(b) {
14453
14453
  var S = g.doc.documentElement.scrollTop || g.doc.body.scrollTop, A = g.doc.documentElement.scrollLeft || g.doc.body.scrollLeft;
14454
14454
  return { x: b.clientX + A, y: b.clientY + S };
14455
14455
  }, Ye = g.doc.addEventListener ? function(b, S, A, v) {
14456
14456
  var C = function(L) {
14457
- var F = lt(L);
14457
+ var F = ht(L);
14458
14458
  return A.call(v, L, F.x, F.y);
14459
14459
  };
14460
14460
  if (b.addEventListener(S, C, !1), w && U[S]) {
14461
14461
  var R = function(L) {
14462
- for (var F = lt(L), B = L, X = 0, te = L.targetTouches && L.targetTouches.length; X < te; X++)
14462
+ for (var F = ht(L), B = L, X = 0, te = L.targetTouches && L.targetTouches.length; X < te; X++)
14463
14463
  if (L.targetTouches[X].target == b) {
14464
- (L = L.targetTouches[X]).originalEvent = B, L.preventDefault = Oe, L.stopPropagation = wt;
14464
+ (L = L.targetTouches[X]).originalEvent = B, L.preventDefault = Oe, L.stopPropagation = St;
14465
14465
  break;
14466
14466
  }
14467
14467
  return A.call(v, L, F.x, F.y);
@@ -14480,7 +14480,7 @@ var cp = { exports: {} };
14480
14480
  return b.attachEvent("on" + S, C), function() {
14481
14481
  return b.detachEvent("on" + S, C), !0;
14482
14482
  };
14483
- } : void 0, Je = [], dt = function(b) {
14483
+ } : void 0, Je = [], ct = function(b) {
14484
14484
  for (var S, A = b.clientX, v = b.clientY, C = g.doc.documentElement.scrollTop || g.doc.body.scrollTop, R = g.doc.documentElement.scrollLeft || g.doc.body.scrollLeft, L = Je.length; L--; ) {
14485
14485
  if (S = Je[L], w && b.touches) {
14486
14486
  for (var F, B = b.touches.length; B--; )
@@ -14494,11 +14494,11 @@ var cp = { exports: {} };
14494
14494
  g.win.opera && ae.removeChild(te), te.style.display = "none", X = S.el.paper.getElementByPoint(A, v), te.style.display = ie, g.win.opera && (ue ? ae.insertBefore(te, ue) : ae.appendChild(te)), X && o("raphael.drag.over." + S.el.id, S.el, X), A += R, v += C, o("raphael.drag.move." + S.el.id, S.move_scope || S.el, A - S.el._drag.x, v - S.el._drag.y, A, v, b);
14495
14495
  }
14496
14496
  }, Ge = function(b) {
14497
- l.unmousemove(dt).unmouseup(Ge);
14497
+ l.unmousemove(ct).unmouseup(Ge);
14498
14498
  for (var S, A = Je.length; A--; )
14499
14499
  (S = Je[A]).el._drag = {}, o("raphael.drag.end." + S.el.id, S.end_scope || S.start_scope || S.move_scope || S.el, b);
14500
14500
  Je = [];
14501
- }, De = l.el = {}, ct = G.length; ct--; )
14501
+ }, De = l.el = {}, pt = G.length; pt--; )
14502
14502
  (function(b) {
14503
14503
  l[b] = De[b] = function(S, A) {
14504
14504
  return l.is(S, "function") && (this.events = this.events || [], this.events.push({ name: b, f: S, unbind: Ye(this.shape || this.node || g.doc, b, S, A || this) })), this;
@@ -14507,7 +14507,7 @@ var cp = { exports: {} };
14507
14507
  A[v].name != b || !l.is(S, "undefined") && A[v].f != S || (A[v].unbind(), A.splice(v, 1), !A.length && delete this.events);
14508
14508
  return this;
14509
14509
  };
14510
- })(G[ct]);
14510
+ })(G[pt]);
14511
14511
  De.data = function(b, S) {
14512
14512
  var A = Ee[this.id] = Ee[this.id] || {};
14513
14513
  if (arguments.length == 0)
@@ -14524,7 +14524,7 @@ var cp = { exports: {} };
14524
14524
  }, De.removeData = function(b) {
14525
14525
  return b == null ? delete Ee[this.id] : Ee[this.id] && delete Ee[this.id][b], this;
14526
14526
  }, De.getData = function() {
14527
- return At(Ee[this.id] || {});
14527
+ return Mt(Ee[this.id] || {});
14528
14528
  }, De.hover = function(b, S, A, v) {
14529
14529
  return this.mouseover(b, A).mouseout(S, v || A);
14530
14530
  }, De.unhover = function(b, S) {
@@ -14542,7 +14542,7 @@ var cp = { exports: {} };
14542
14542
  break;
14543
14543
  }
14544
14544
  }
14545
- this._drag.x = B + ue, this._drag.y = X + te, !Je.length && l.mousemove(dt).mouseup(Ge), Je.push({ el: this, move_scope: v, start_scope: C, end_scope: R }), S && o.on("raphael.drag.start." + this.id, S), b && o.on("raphael.drag.move." + this.id, b), A && o.on("raphael.drag.end." + this.id, A), o("raphael.drag.start." + this.id, C || v || this, this._drag.x, this._drag.y, F);
14545
+ this._drag.x = B + ue, this._drag.y = X + te, !Je.length && l.mousemove(ct).mouseup(Ge), Je.push({ el: this, move_scope: v, start_scope: C, end_scope: R }), S && o.on("raphael.drag.start." + this.id, S), b && o.on("raphael.drag.move." + this.id, b), A && o.on("raphael.drag.end." + this.id, A), o("raphael.drag.start." + this.id, C || v || this, this._drag.x, this._drag.y, F);
14546
14546
  }
14547
14547
  return this._drag = {}, Ut.push({ el: this, start: L }), this.mousedown(L), this;
14548
14548
  }, De.onDragOver = function(b) {
@@ -14550,7 +14550,7 @@ var cp = { exports: {} };
14550
14550
  }, De.undrag = function() {
14551
14551
  for (var b = Ut.length; b--; )
14552
14552
  Ut[b].el == this && (this.unmousedown(Ut[b].start), Ut.splice(b, 1), o.unbind("raphael.drag.*." + this.id));
14553
- !Ut.length && l.unmousemove(dt).unmouseup(Ge), Je = [];
14553
+ !Ut.length && l.unmousemove(ct).unmouseup(Ge), Je = [];
14554
14554
  }, u.circle = function(b, S, A) {
14555
14555
  var v = l._engine.circle(this, b || 0, S || 0, A || 0);
14556
14556
  return this.__set__ && this.__set__.push(v), v;
@@ -14634,7 +14634,7 @@ var cp = { exports: {} };
14634
14634
  if (this.removed)
14635
14635
  return {};
14636
14636
  var S = this._;
14637
- return b ? (!S.dirty && S.bboxwt || (this.realPath = Ze[this.type](this), S.bboxwt = br(this.realPath), S.bboxwt.toString = _r, S.dirty = 0), S.bboxwt) : ((S.dirty || S.dirtyT || !S.bbox) && (!S.dirty && this.realPath || (S.bboxwt = 0, this.realPath = Ze[this.type](this)), S.bbox = br(ut(this.realPath, this.matrix)), S.bbox.toString = _r, S.dirty = S.dirtyT = 0), S.bbox);
14637
+ return b ? (!S.dirty && S.bboxwt || (this.realPath = Ze[this.type](this), S.bboxwt = br(this.realPath), S.bboxwt.toString = _r, S.dirty = 0), S.bboxwt) : ((S.dirty || S.dirtyT || !S.bbox) && (!S.dirty && this.realPath || (S.bboxwt = 0, this.realPath = Ze[this.type](this)), S.bbox = br(ft(this.realPath, this.matrix)), S.bbox.toString = _r, S.dirty = S.dirtyT = 0), S.bbox);
14638
14638
  }, De.clone = function() {
14639
14639
  if (this.removed)
14640
14640
  return null;
@@ -14644,12 +14644,12 @@ var cp = { exports: {} };
14644
14644
  if (this.type == "text")
14645
14645
  return null;
14646
14646
  var S = { width: ((b = b || {}).width || 10) + (+this.attr("stroke-width") || 1), fill: b.fill || !1, opacity: b.opacity == null ? 0.5 : b.opacity, offsetx: b.offsetx || 0, offsety: b.offsety || 0, color: b.color || "#000" }, A = S.width / 2, v = this.paper, C = v.set(), R = this.realPath || Ze[this.type](this);
14647
- R = this.matrix ? ut(R, this.matrix) : R;
14647
+ R = this.matrix ? ft(R, this.matrix) : R;
14648
14648
  for (var L = 1; L < A + 1; L++)
14649
14649
  C.push(v.path(R).attr({ stroke: S.color, fill: S.fill ? S.color : "none", "stroke-linejoin": "round", "stroke-linecap": "round", "stroke-width": +(S.width / A * L).toFixed(3), opacity: +(S.opacity / A).toFixed(3) }));
14650
14650
  return C.insertBefore(this).translate(S.offsetx, S.offsety);
14651
14651
  };
14652
- var mt = function(b, S, A, v, C, R, L, F, B) {
14652
+ var bt = function(b, S, A, v, C, R, L, F, B) {
14653
14653
  return B == null ? fr(b, S, A, v, C, R, L, F) : l.findDotsAtSegment(b, S, A, v, C, R, L, F, function(X, te, ue, ae, ie, fe, ge, de, he) {
14654
14654
  if (!(he < 0 || fr(X, te, ue, ae, ie, fe, ge, de) < he)) {
14655
14655
  var ze, ve = 0.5, _e = 1 - ve;
@@ -14664,15 +14664,15 @@ var cp = { exports: {} };
14664
14664
  if ((F = A[ie])[0] == "M")
14665
14665
  R = +F[1], L = +F[2];
14666
14666
  else {
14667
- if (ae + (B = mt(R, L, F[1], F[2], F[3], F[4], F[5], F[6])) > v) {
14667
+ if (ae + (B = bt(R, L, F[1], F[2], F[3], F[4], F[5], F[6])) > v) {
14668
14668
  if (S && !ue.start) {
14669
- if (te += ["C" + (X = mt(R, L, F[1], F[2], F[3], F[4], F[5], F[6], v - ae)).start.x, X.start.y, X.m.x, X.m.y, X.x, X.y], C)
14669
+ if (te += ["C" + (X = bt(R, L, F[1], F[2], F[3], F[4], F[5], F[6], v - ae)).start.x, X.start.y, X.m.x, X.m.y, X.x, X.y], C)
14670
14670
  return te;
14671
14671
  ue.start = te, te = ["M" + X.x, X.y + "C" + X.n.x, X.n.y, X.end.x, X.end.y, F[5], F[6]].join(), ae += B, R = +F[5], L = +F[6];
14672
14672
  continue;
14673
14673
  }
14674
14674
  if (!b && !S)
14675
- return { x: (X = mt(R, L, F[1], F[2], F[3], F[4], F[5], F[6], v - ae)).x, y: X.y, alpha: X.alpha };
14675
+ return { x: (X = bt(R, L, F[1], F[2], F[3], F[4], F[5], F[6], v - ae)).x, y: X.y, alpha: X.alpha };
14676
14676
  }
14677
14677
  ae += B, R = +F[5], L = +F[6];
14678
14678
  }
@@ -14703,7 +14703,7 @@ var cp = { exports: {} };
14703
14703
  if (A)
14704
14704
  return l.getSubpath(A, b, S);
14705
14705
  };
14706
- var at = l.easing_formulas = { linear: function(b) {
14706
+ var nt = l.easing_formulas = { linear: function(b) {
14707
14707
  return b;
14708
14708
  }, "<": function(b) {
14709
14709
  return Te(b, 1.7);
@@ -14724,7 +14724,7 @@ var cp = { exports: {} };
14724
14724
  var S = 7.5625, A = 2.75;
14725
14725
  return b < 1 / A ? S * b * b : b < 2 / A ? S * (b -= 1.5 / A) * b + 0.75 : b < 2.5 / A ? S * (b -= 2.25 / A) * b + 0.9375 : S * (b -= 2.625 / A) * b + 0.984375;
14726
14726
  } };
14727
- at.easeIn = at["ease-in"] = at["<"], at.easeOut = at["ease-out"] = at[">"], at.easeInOut = at["ease-in-out"] = at["<>"], at["back-in"] = at.backIn, at["back-out"] = at.backOut;
14727
+ nt.easeIn = nt["ease-in"] = nt["<"], nt.easeOut = nt["ease-out"] = nt[">"], nt.easeInOut = nt["ease-in-out"] = nt["<>"], nt["back-in"] = nt.backIn, nt["back-out"] = nt.backOut;
14728
14728
  var Ue = [], or = window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || window.oRequestAnimationFrame || window.msRequestAnimationFrame || function(b) {
14729
14729
  setTimeout(b, 16);
14730
14730
  }, ei = function() {
@@ -15349,8 +15349,8 @@ You are running Raphaël ` + this.version;
15349
15349
  if (E = (E = h(E).replace(o._radial_gradient, function(Fe, Be, Ae) {
15350
15350
  if (P = "radial", Be && Ae) {
15351
15351
  D = u(Be);
15352
- var ot = 2 * ((j = u(Ae)) > 0.5) - 1;
15353
- g(D - 0.5, 2) + g(j - 0.5, 2) > 0.25 && (j = c.sqrt(0.25 - g(D - 0.5, 2)) * ot + 0.5) && j != 0.5 && (j = j.toFixed(5) - 1e-5 * ot);
15352
+ var lt = 2 * ((j = u(Ae)) > 0.5) - 1;
15353
+ g(D - 0.5, 2) + g(j - 0.5, 2) > 0.25 && (j = c.sqrt(0.25 - g(D - 0.5, 2)) * lt + 0.5) && j != 0.5 && (j = j.toFixed(5) - 1e-5 * lt);
15354
15354
  }
15355
15355
  return T;
15356
15356
  })).split(/\s*\-\s*/), P == "linear") {
@@ -15403,18 +15403,18 @@ You are running Raphaël ` + this.version;
15403
15403
  Fe = 2;
15404
15404
  }
15405
15405
  if (Ee == "open" ? (Fe += 2, Be += 2, Ae += 2, j = 1, N = P ? 4 : 1, H = { fill: "none", stroke: Se.stroke }) : (N = j = Fe / 2, H = { fill: Se.stroke, stroke: "none" }), M._.arrows ? P ? (M._.arrows.endPath && k[M._.arrows.endPath]--, M._.arrows.endMarker && k[M._.arrows.endMarker]--) : (M._.arrows.startPath && k[M._.arrows.startPath]--, M._.arrows.startMarker && k[M._.arrows.startMarker]--) : M._.arrows = {}, Ee != "none") {
15406
- var ot = "raphael-marker-" + Ee, Ze = "raphael-marker-" + re + Ee + Fe + Be + "-obj" + M.id;
15407
- o._g.doc.getElementById(ot) ? k[ot]++ : (Q.defs.appendChild(I(I("path"), { "stroke-linecap": "round", d: O[Ee], id: ot })), k[ot] = 1);
15408
- var ut, Ve = o._g.doc.getElementById(Ze);
15409
- Ve ? (k[Ze]++, ut = Ve.getElementsByTagName("use")[0]) : (Ve = I(I("marker"), { id: Ze, markerHeight: Be, markerWidth: Fe, orient: "auto", refX: N, refY: Be / 2 }), ut = I(I("use"), { "xlink:href": "#" + ot, transform: (P ? "rotate(180 " + Fe / 2 + " " + Be / 2 + ") " : T) + "scale(" + Fe / Ae + "," + Be / Ae + ")", "stroke-width": (1 / ((Fe / Ae + Be / Ae) / 2)).toFixed(4) }), Ve.appendChild(ut), Q.defs.appendChild(Ve), k[Ze] = 1), I(ut, H);
15406
+ var lt = "raphael-marker-" + Ee, Ze = "raphael-marker-" + re + Ee + Fe + Be + "-obj" + M.id;
15407
+ o._g.doc.getElementById(lt) ? k[lt]++ : (Q.defs.appendChild(I(I("path"), { "stroke-linecap": "round", d: O[Ee], id: lt })), k[lt] = 1);
15408
+ var ft, Ve = o._g.doc.getElementById(Ze);
15409
+ Ve ? (k[Ze]++, ft = Ve.getElementsByTagName("use")[0]) : (Ve = I(I("marker"), { id: Ze, markerHeight: Be, markerWidth: Fe, orient: "auto", refX: N, refY: Be / 2 }), ft = I(I("use"), { "xlink:href": "#" + lt, transform: (P ? "rotate(180 " + Fe / 2 + " " + Be / 2 + ") " : T) + "scale(" + Fe / Ae + "," + Be / Ae + ")", "stroke-width": (1 / ((Fe / Ae + Be / Ae) / 2)).toFixed(4) }), Ve.appendChild(ft), Q.defs.appendChild(Ve), k[Ze] = 1), I(ft, H);
15410
15410
  var Ot = j * (Ee != "diamond" && Ee != "oval");
15411
- P ? (z = M._.arrows.startdx * Re || 0, D = o.getTotalLength(Se.path) - Ot * Re) : (z = Ot * Re, D = o.getTotalLength(Se.path) - (M._.arrows.enddx * Re || 0)), (H = {})["marker-" + re] = "url(#" + Ze + ")", (D || z) && (H.d = o.getSubpath(Se.path, z, D)), I(ce, H), M._.arrows[re + "Path"] = ot, M._.arrows[re + "Marker"] = Ze, M._.arrows[re + "dx"] = Ot, M._.arrows[re + "Type"] = Ee, M._.arrows[re + "String"] = E;
15411
+ P ? (z = M._.arrows.startdx * Re || 0, D = o.getTotalLength(Se.path) - Ot * Re) : (z = Ot * Re, D = o.getTotalLength(Se.path) - (M._.arrows.enddx * Re || 0)), (H = {})["marker-" + re] = "url(#" + Ze + ")", (D || z) && (H.d = o.getSubpath(Se.path, z, D)), I(ce, H), M._.arrows[re + "Path"] = lt, M._.arrows[re + "Marker"] = Ze, M._.arrows[re + "dx"] = Ot, M._.arrows[re + "Type"] = Ee, M._.arrows[re + "String"] = E;
15412
15412
  } else
15413
15413
  P ? (z = M._.arrows.startdx * Re || 0, D = o.getTotalLength(Se.path) - z) : (z = 0, D = o.getTotalLength(Se.path) - (M._.arrows.enddx * Re || 0)), M._.arrows[re + "Path"] && I(ce, { d: o.getSubpath(Se.path, z, D) }), delete M._.arrows[re + "Path"], delete M._.arrows[re + "Marker"], delete M._.arrows[re + "dx"], delete M._.arrows[re + "Type"], delete M._.arrows[re + "String"];
15414
15414
  for (H in k)
15415
15415
  if (k[l](H) && !k[H]) {
15416
- var At = o._g.doc.getElementById(H);
15417
- At && At.parentNode.removeChild(At);
15416
+ var Mt = o._g.doc.getElementById(H);
15417
+ Mt && Mt.parentNode.removeChild(Mt);
15418
15418
  }
15419
15419
  }
15420
15420
  }, Y = { "-": [3, 1], ".": [1, 1], "-.": [3, 1, 1, 1], "-..": [3, 1, 1, 1, 1, 1], ". ": [1, 3], "- ": [4, 3], "--": [8, 3], "- .": [4, 3, 1, 3], "--.": [8, 3, 1, 3], "--..": [8, 3, 1, 3, 1, 3] }, ee = function(M, E, P) {
@@ -15527,8 +15527,8 @@ You are running Raphaël ` + this.version;
15527
15527
  var Be = I("image");
15528
15528
  Se.id = o.createUUID(), I(Se, { x: 0, y: 0, patternUnits: "userSpaceOnUse", height: 1, width: 1 }), I(Be, { x: 0, y: 0, "xlink:href": Fe[1] }), Se.appendChild(Be), function(Ve) {
15529
15529
  o._preload(Fe[1], function() {
15530
- var Ot = this.offsetWidth, At = this.offsetHeight;
15531
- I(Ve, { width: Ot, height: At }), I(Be, { width: Ot, height: At });
15530
+ var Ot = this.offsetWidth, Mt = this.offsetHeight;
15531
+ I(Ve, { width: Ot, height: Mt }), I(Be, { width: Ot, height: Mt });
15532
15532
  });
15533
15533
  }(Se), M.paper.defs.appendChild(Se), I(P, { fill: "url(#" + Se.id + ")" }), M.pattern = Se, M.pattern && U(M);
15534
15534
  break;
@@ -15537,9 +15537,9 @@ You are running Raphaël ` + this.version;
15537
15537
  if (Ae.error) {
15538
15538
  if ((M.type == "circle" || M.type == "ellipse" || h(N).charAt() != "r") && $(M, N)) {
15539
15539
  if ("opacity" in z || "fill-opacity" in z) {
15540
- var ot = o._g.doc.getElementById(P.getAttribute("fill").replace(/^url\(#|\)$/g, T));
15541
- if (ot) {
15542
- var Ze = ot.getElementsByTagName("stop");
15540
+ var lt = o._g.doc.getElementById(P.getAttribute("fill").replace(/^url\(#|\)$/g, T));
15541
+ if (lt) {
15542
+ var Ze = lt.getElementsByTagName("stop");
15543
15543
  I(Ze[Ze.length - 1], { "stop-opacity": ("opacity" in z ? z.opacity : 1) * ("fill-opacity" in z ? z["fill-opacity"] : 1) });
15544
15544
  }
15545
15545
  }
@@ -15559,15 +15559,15 @@ You are running Raphaël ` + this.version;
15559
15559
  z.gradient && !z[l]("stroke-opacity") && I(P, { "stroke-opacity": N > 1 ? N / 100 : N });
15560
15560
  case "fill-opacity":
15561
15561
  if (z.gradient) {
15562
- (ot = o._g.doc.getElementById(P.getAttribute("fill").replace(/^url\(#|\)$/g, T))) && (Ze = ot.getElementsByTagName("stop"), I(Ze[Ze.length - 1], { "stop-opacity": N }));
15562
+ (lt = o._g.doc.getElementById(P.getAttribute("fill").replace(/^url\(#|\)$/g, T))) && (Ze = lt.getElementsByTagName("stop"), I(Ze[Ze.length - 1], { "stop-opacity": N }));
15563
15563
  break;
15564
15564
  }
15565
15565
  default:
15566
15566
  j == "font-size" && (N = d(N, 10) + "px");
15567
- var ut = j.replace(/(\-.)/g, function(Ve) {
15567
+ var ft = j.replace(/(\-.)/g, function(Ve) {
15568
15568
  return Ve.substring(1).toUpperCase();
15569
15569
  });
15570
- P.style[ut] = N, M._.dirty = 1, P.setAttribute(j, N);
15570
+ P.style[ft] = N, M._.dirty = 1, P.setAttribute(j, N);
15571
15571
  }
15572
15572
  }
15573
15573
  ne(M, E), P.style.visibility = D;
@@ -15841,23 +15841,23 @@ You are running Raphaël ` + this.version;
15841
15841
  if (N && (D.path = o._getPath[E.type](E), E._.dirty = 1), P.href && (z.href = P.href), P.title && (z.title = P.title), P.target && (z.target = P.target), P.cursor && (j.cursor = P.cursor), "blur" in P && E.blur(P.blur), (P.path && E.type == "path" || N) && (z.path = function(Ft) {
15842
15842
  var Lr = /[ahqstv]/gi, Kr = o._pathToAbsolute;
15843
15843
  if (h(Ft).match(Lr) && (Kr = o._path2curve), Lr = /[clmz]/g, Kr == o._pathToAbsolute && !h(Ft).match(Lr)) {
15844
- var Ct = h(Ft).replace(O, function(Js, Jr, Qr) {
15844
+ var wt = h(Ft).replace(O, function(Js, Jr, Qr) {
15845
15845
  var yr = [], wi = Jr.toLowerCase() == "m", xr = w[Jr];
15846
15846
  return Qr.replace(I, function(Fr) {
15847
15847
  wi && yr.length == 2 && (xr += yr + w[Jr == "m" ? "l" : "L"], yr = []), yr.push(c(Fr * G));
15848
15848
  }), xr + yr;
15849
15849
  });
15850
- return Ct;
15850
+ return wt;
15851
15851
  }
15852
15852
  var Ar, fr, Ci = Kr(Ft);
15853
- Ct = [];
15853
+ wt = [];
15854
15854
  for (var Zr = 0, ui = Ci.length; Zr < ui; Zr++) {
15855
15855
  Ar = Ci[Zr], (fr = Ci[Zr][0].toLowerCase()) == "z" && (fr = "x");
15856
- for (var br = 1, Mt = Ar.length; br < Mt; br++)
15857
- fr += c(Ar[br] * G) + (br != Mt - 1 ? "," : m);
15858
- Ct.push(fr);
15856
+ for (var br = 1, Rt = Ar.length; br < Rt; br++)
15857
+ fr += c(Ar[br] * G) + (br != Rt - 1 ? "," : m);
15858
+ wt.push(fr);
15859
15859
  }
15860
- return Ct.join(T);
15860
+ return wt.join(T);
15861
15861
  }(~h(D.path).toLowerCase().indexOf("r") ? o._pathToAbsolute(D.path) : D.path), E._.dirty = 1, E.type == "image" && (E._.fillpos = [D.x, D.y], E._.fillsize = [D.width, D.height], ee(E, 1, 1, 0, 0, 0))), "transform" in P && E.transform(P.transform), H) {
15862
15862
  var re = +D.cx, ce = +D.cy, Se = +D.rx || +D.r || 0, Re = +D.ry || +D.r || 0;
15863
15863
  z.path = o.format("ar{0},{1},{2},{3},{4},{1},{4},{1}x", c((re - Se) * G), c((ce - Re) * G), c((re + Se) * G), c((ce + Re) * G), c(re * G)), E._.dirty = 1;
@@ -15878,27 +15878,27 @@ You are running Raphaël ` + this.version;
15878
15878
  if ("arrow-start" in P && ne(q, P["arrow-start"]), "arrow-end" in P && ne(q, P["arrow-end"], 1), P.opacity != null || P.fill != null || P.src != null || P.stroke != null || P["stroke-width"] != null || P["stroke-opacity"] != null || P["fill-opacity"] != null || P["stroke-dasharray"] != null || P["stroke-miterlimit"] != null || P["stroke-linejoin"] != null || P["stroke-linecap"] != null) {
15879
15879
  var Ae = z.getElementsByTagName("fill");
15880
15880
  if (!(Ae = Ae && Ae[0]) && (Ae = x("fill")), E.type == "image" && P.src && (Ae.src = P.src), P.fill && (Ae.on = !0), Ae.on != null && P.fill != "none" && P.fill !== null || (Ae.on = !1), Ae.on && P.fill) {
15881
- var ot = h(P.fill).match(o._ISURL);
15882
- if (ot) {
15883
- Ae.parentNode == z && z.removeChild(Ae), Ae.rotate = !0, Ae.src = ot[1], Ae.type = "tile";
15881
+ var lt = h(P.fill).match(o._ISURL);
15882
+ if (lt) {
15883
+ Ae.parentNode == z && z.removeChild(Ae), Ae.rotate = !0, Ae.src = lt[1], Ae.type = "tile";
15884
15884
  var Ze = E.getBBox(1);
15885
- Ae.position = Ze.x + T + Ze.y, E._.fillpos = [Ze.x, Ze.y], o._preload(ot[1], function() {
15885
+ Ae.position = Ze.x + T + Ze.y, E._.fillpos = [Ze.x, Ze.y], o._preload(lt[1], function() {
15886
15886
  E._.fillsize = [this.offsetWidth, this.offsetHeight];
15887
15887
  });
15888
15888
  } else
15889
15889
  Ae.color = o.getRGB(P.fill).hex, Ae.src = m, Ae.type = "solid", o.getRGB(P.fill).error && (q.type in { circle: 1, ellipse: 1 } || h(P.fill).charAt() != "r") && Ce(q, P.fill, Ae) && (D.fill = "none", D.gradient = P.fill, Ae.rotate = !1);
15890
15890
  }
15891
15891
  if ("fill-opacity" in P || "opacity" in P) {
15892
- var ut = ((+D["fill-opacity"] + 1 || 2) - 1) * ((+D.opacity + 1 || 2) - 1) * ((+o.getRGB(P.fill).o + 1 || 2) - 1);
15893
- ut = p(f(ut, 0), 1), Ae.opacity = ut, Ae.src && (Ae.color = "none");
15892
+ var ft = ((+D["fill-opacity"] + 1 || 2) - 1) * ((+D.opacity + 1 || 2) - 1) * ((+o.getRGB(P.fill).o + 1 || 2) - 1);
15893
+ ft = p(f(ft, 0), 1), Ae.opacity = ft, Ae.src && (Ae.color = "none");
15894
15894
  }
15895
15895
  z.appendChild(Ae);
15896
15896
  var Ve = z.getElementsByTagName("stroke") && z.getElementsByTagName("stroke")[0], Ot = !1;
15897
15897
  !Ve && (Ot = Ve = x("stroke")), (P.stroke && P.stroke != "none" || P["stroke-width"] || P["stroke-opacity"] != null || P["stroke-dasharray"] || P["stroke-miterlimit"] || P["stroke-linejoin"] || P["stroke-linecap"]) && (Ve.on = !0), (P.stroke == "none" || P.stroke === null || Ve.on == null || P.stroke == 0 || P["stroke-width"] == 0) && (Ve.on = !1);
15898
- var At = o.getRGB(P.stroke);
15899
- Ve.on && P.stroke && (Ve.color = At.hex), ut = ((+D["stroke-opacity"] + 1 || 2) - 1) * ((+D.opacity + 1 || 2) - 1) * ((+At.o + 1 || 2) - 1);
15898
+ var Mt = o.getRGB(P.stroke);
15899
+ Ve.on && P.stroke && (Ve.color = Mt.hex), ft = ((+D["stroke-opacity"] + 1 || 2) - 1) * ((+D.opacity + 1 || 2) - 1) * ((+Mt.o + 1 || 2) - 1);
15900
15900
  var Qt = 0.75 * (u(P["stroke-width"]) || 1);
15901
- if (ut = p(f(ut, 0), 1), P["stroke-width"] == null && (Qt = D["stroke-width"]), P["stroke-width"] && (Ve.weight = Qt), Qt && Qt < 1 && (ut *= Qt) && (Ve.weight = 1), Ve.opacity = ut, P["stroke-linejoin"] && (Ve.joinstyle = P["stroke-linejoin"] || "miter"), Ve.miterlimit = P["stroke-miterlimit"] || 8, P["stroke-linecap"] && (Ve.endcap = P["stroke-linecap"] == "butt" ? "flat" : P["stroke-linecap"] == "square" ? "square" : "round"), "stroke-dasharray" in P) {
15901
+ if (ft = p(f(ft, 0), 1), P["stroke-width"] == null && (Qt = D["stroke-width"]), P["stroke-width"] && (Ve.weight = Qt), Qt && Qt < 1 && (ft *= Qt) && (Ve.weight = 1), Ve.opacity = ft, P["stroke-linejoin"] && (Ve.joinstyle = P["stroke-linejoin"] || "miter"), Ve.miterlimit = P["stroke-miterlimit"] || 8, P["stroke-linecap"] && (Ve.endcap = P["stroke-linecap"] == "butt" ? "flat" : P["stroke-linecap"] == "square" ? "square" : "round"), "stroke-dasharray" in P) {
15902
15902
  var mr = { "-": "shortdash", ".": "shortdot", "-.": "shortdashdot", "-..": "shortdashdotdot", ". ": "dot", "- ": "dash", "--": "longdash", "- .": "dashdot", "--.": "longdashdot", "--..": "longdashdotdot" };
15903
15903
  Ve.dashstyle = mr[l](P["stroke-dasharray"]) ? mr[P["stroke-dasharray"]] : m;
15904
15904
  }
@@ -16191,7 +16191,7 @@ class _l {
16191
16191
  const n = new _l();
16192
16192
  for (let o = 0; o <= a * i; o += 1) {
16193
16193
  const l = Math.floor(o / a) / i * 2 * Math.PI, h = e + Math.cos(l) * s, u = t + Math.sin(l) * s;
16194
- n.addPoint(new Tt({ x: h, y: u }));
16194
+ n.addPoint(new Ct({ x: h, y: u }));
16195
16195
  }
16196
16196
  return n;
16197
16197
  }
@@ -16822,29 +16822,42 @@ class RR extends fc {
16822
16822
  /////////// Plugin End ///////////
16823
16823
  }
16824
16824
  const OR = {
16825
- colorPrimary: Rt.getCSSVar("--color-primary"),
16826
- colorRed: Rt.getCSSVar("--color-red"),
16827
- colorOrange: Rt.getCSSVar("--color-orange"),
16828
- colorYellow: Rt.getCSSVar("--color-yellow"),
16829
- colorGray3: Rt.getCSSVar("--color-gray-3"),
16830
- colorGrayFF: Rt.getCSSVar("--color-gray-ff"),
16831
- fontLineHeight: Rt.getCSSVar("--font-line-height"),
16832
- fontSize32: Rt.getCSSVar("--font-size-32"),
16833
- fontSize24: Rt.getCSSVar("--font-size-24"),
16834
- fontSize18: Rt.getCSSVar("--font-size-18"),
16835
- fontSize16: Rt.getCSSVar("--font-size-16"),
16836
- fontSize14: Rt.getCSSVar("--font-size-14"),
16837
- fontSize12: Rt.getCSSVar("--font-size-12"),
16838
- fontSize11: Rt.getCSSVar("--font-size-11"),
16839
- gap4: Rt.getCSSVar("--gap-4"),
16840
- gap8: Rt.getCSSVar("--gap-8"),
16841
- gap12: Rt.getCSSVar("--gap-12"),
16842
- gap16: Rt.getCSSVar("--gap-16"),
16843
- gap20: Rt.getCSSVar("--gap-20"),
16844
- gap40: Rt.getCSSVar("--gap-40"),
16845
- height44: Rt.getCSSVar("--height-44"),
16846
- height32: Rt.getCSSVar("--height-32"),
16847
- borderRadius: Rt.getCSSVar("--border-radius")
16825
+ colorPrimary: it.getCSSVar("--color-primary"),
16826
+ colorRed: it.getCSSVar("--color-red"),
16827
+ colorOrange: it.getCSSVar("--color-orange"),
16828
+ colorYellow: it.getCSSVar("--color-yellow"),
16829
+ colorGreen: it.getCSSVar("--color-green"),
16830
+ colorBlue: it.getCSSVar("--color-blue"),
16831
+ colorPurple: it.getCSSVar("--color-purple"),
16832
+ colorBlack: it.getCSSVar("--color-black"),
16833
+ colorGray0: it.getCSSVar("--color-gray-0"),
16834
+ colorGray3: it.getCSSVar("--color-gray-3"),
16835
+ colorGray6: it.getCSSVar("--color-gray-6"),
16836
+ colorGray9: it.getCSSVar("--color-gray-9"),
16837
+ colorGrayCC: it.getCSSVar("--color-gray-cc"),
16838
+ colorGrayDD: it.getCSSVar("--color-gray-dd"),
16839
+ colorGrayE6: it.getCSSVar("--color-gray-e6"),
16840
+ colorGrayEE: it.getCSSVar("--color-gray-ee"),
16841
+ colorGrayEF: it.getCSSVar("--color-gray-ef"),
16842
+ colorGrayF5: it.getCSSVar("--color-gray-f5"),
16843
+ colorGrayFF: it.getCSSVar("--color-gray-ff"),
16844
+ fontLineHeight: it.getCSSVar("--font-line-height"),
16845
+ fontSize32: it.getCSSVar("--font-size-32"),
16846
+ fontSize24: it.getCSSVar("--font-size-24"),
16847
+ fontSize18: it.getCSSVar("--font-size-18"),
16848
+ fontSize16: it.getCSSVar("--font-size-16"),
16849
+ fontSize14: it.getCSSVar("--font-size-14"),
16850
+ fontSize12: it.getCSSVar("--font-size-12"),
16851
+ fontSize11: it.getCSSVar("--font-size-11"),
16852
+ gap4: it.getCSSVar("-gap-4"),
16853
+ gap8: it.getCSSVar("-gap-8"),
16854
+ gap12: it.getCSSVar("-gap-12"),
16855
+ gap16: it.getCSSVar("-gap-16"),
16856
+ gap20: it.getCSSVar("-gap-20"),
16857
+ gap40: it.getCSSVar("-gap-40"),
16858
+ height44: it.getCSSVar("--height-44"),
16859
+ height32: it.getCSSVar("--height-32"),
16860
+ borderRadius: it.getCSSVar("--border-radius")
16848
16861
  };
16849
16862
  function IR(r) {
16850
16863
  return btoa(encodeURIComponent(r)).replaceAll("+", "*").replaceAll("/", "-").replaceAll("=", "");
@@ -17839,7 +17852,7 @@ const { _tr_init: ET, _tr_stored_block: P1, _tr_flush_block: AT, _tr_tally: ns,
17839
17852
  Z_DEFAULT_STRATEGY: FT,
17840
17853
  Z_UNKNOWN: UT,
17841
17854
  Z_DEFLATED: Bl
17842
- } = Bs, GT = 9, jT = 15, BT = 8, VT = 29, HT = 256, k1 = HT + 1 + VT, WT = 30, qT = 19, YT = 2 * k1 + 1, XT = 15, st = 3, as = 258, bi = as + st + 1, KT = 32, _a = 42, ou = 57, E1 = 69, A1 = 73, M1 = 91, R1 = 103, As = 113, Va = 666, vr = 1, ka = 2, Fs = 3, Ea = 4, ZT = 3, Ms = (r, e) => (r.msg = Ls[e], e), n2 = (r) => r * 2 - (r > 4 ? 9 : 0), is = (r) => {
17855
+ } = Bs, GT = 9, jT = 15, BT = 8, VT = 29, HT = 256, k1 = HT + 1 + VT, WT = 30, qT = 19, YT = 2 * k1 + 1, XT = 15, at = 3, as = 258, bi = as + at + 1, KT = 32, _a = 42, ou = 57, E1 = 69, A1 = 73, M1 = 91, R1 = 103, As = 113, Va = 666, vr = 1, ka = 2, Fs = 3, Ea = 4, ZT = 3, Ms = (r, e) => (r.msg = Ls[e], e), n2 = (r) => r * 2 - (r > 4 ? 9 : 0), is = (r) => {
17843
17856
  let e = r.length;
17844
17857
  for (; --e >= 0; )
17845
17858
  r[e] = 0;
@@ -17861,7 +17874,7 @@ const Or = (r) => {
17861
17874
  t > r.avail_out && (t = r.avail_out), t !== 0 && (r.output.set(e.pending_buf.subarray(e.pending_out, e.pending_out + t), r.next_out), r.next_out += t, e.pending_out += t, r.total_out += t, r.avail_out -= t, e.pending -= t, e.pending === 0 && (e.pending_out = 0));
17862
17875
  }, Dr = (r, e) => {
17863
17876
  AT(r, r.block_start >= 0 ? r.block_start : -1, r.strstart - r.block_start, e), r.block_start = r.strstart, Or(r.strm);
17864
- }, pt = (r, e) => {
17877
+ }, gt = (r, e) => {
17865
17878
  r.pending_buf[r.pending++] = e;
17866
17879
  }, Fa = (r, e) => {
17867
17880
  r.pending_buf[r.pending++] = e >>> 8 & 255, r.pending_buf[r.pending++] = e & 255;
@@ -17893,8 +17906,8 @@ const Or = (r) => {
17893
17906
  do {
17894
17907
  if (i = r.window_size - r.lookahead - r.strstart, r.strstart >= e + (e - bi) && (r.window.set(r.window.subarray(e, e + e - i), 0), r.match_start -= e, r.strstart -= e, r.block_start -= e, r.insert > r.strstart && (r.insert = r.strstart), JT(r), i += e), r.strm.avail_in === 0)
17895
17908
  break;
17896
- if (t = O1(r.strm, r.window, r.strstart + r.lookahead, i), r.lookahead += t, r.lookahead + r.insert >= st)
17897
- for (s = r.strstart - r.insert, r.ins_h = r.window[s], r.ins_h = ls(r, r.ins_h, r.window[s + 1]); r.insert && (r.ins_h = ls(r, r.ins_h, r.window[s + st - 1]), r.prev[s & r.w_mask] = r.head[r.ins_h], r.head[r.ins_h] = s, s++, r.insert--, !(r.lookahead + r.insert < st)); )
17909
+ if (t = O1(r.strm, r.window, r.strstart + r.lookahead, i), r.lookahead += t, r.lookahead + r.insert >= at)
17910
+ for (s = r.strstart - r.insert, r.ins_h = r.window[s], r.ins_h = ls(r, r.ins_h, r.window[s + 1]); r.insert && (r.ins_h = ls(r, r.ins_h, r.window[s + at - 1]), r.prev[s & r.w_mask] = r.head[r.ins_h], r.head[r.ins_h] = s, s++, r.insert--, !(r.lookahead + r.insert < at)); )
17898
17911
  ;
17899
17912
  } while (r.lookahead < bi && r.strm.avail_in !== 0);
17900
17913
  }, Np = (r, e) => {
@@ -17914,11 +17927,11 @@ const Or = (r) => {
17914
17927
  if (r.lookahead === 0)
17915
17928
  break;
17916
17929
  }
17917
- if (t = 0, r.lookahead >= st && (r.ins_h = ls(r, r.ins_h, r.window[r.strstart + st - 1]), t = r.prev[r.strstart & r.w_mask] = r.head[r.ins_h], r.head[r.ins_h] = r.strstart), t !== 0 && r.strstart - t <= r.w_size - bi && (r.match_length = Dp(r, t)), r.match_length >= st)
17918
- if (i = ns(r, r.strstart - r.match_start, r.match_length - st), r.lookahead -= r.match_length, r.match_length <= r.max_lazy_match && r.lookahead >= st) {
17930
+ if (t = 0, r.lookahead >= at && (r.ins_h = ls(r, r.ins_h, r.window[r.strstart + at - 1]), t = r.prev[r.strstart & r.w_mask] = r.head[r.ins_h], r.head[r.ins_h] = r.strstart), t !== 0 && r.strstart - t <= r.w_size - bi && (r.match_length = Dp(r, t)), r.match_length >= at)
17931
+ if (i = ns(r, r.strstart - r.match_start, r.match_length - at), r.lookahead -= r.match_length, r.match_length <= r.max_lazy_match && r.lookahead >= at) {
17919
17932
  r.match_length--;
17920
17933
  do
17921
- r.strstart++, r.ins_h = ls(r, r.ins_h, r.window[r.strstart + st - 1]), t = r.prev[r.strstart & r.w_mask] = r.head[r.ins_h], r.head[r.ins_h] = r.strstart;
17934
+ r.strstart++, r.ins_h = ls(r, r.ins_h, r.window[r.strstart + at - 1]), t = r.prev[r.strstart & r.w_mask] = r.head[r.ins_h], r.head[r.ins_h] = r.strstart;
17922
17935
  while (--r.match_length !== 0);
17923
17936
  r.strstart++;
17924
17937
  } else
@@ -17928,7 +17941,7 @@ const Or = (r) => {
17928
17941
  if (i && (Dr(r, !1), r.strm.avail_out === 0))
17929
17942
  return vr;
17930
17943
  }
17931
- return r.insert = r.strstart < st - 1 ? r.strstart : st - 1, e === Wr ? (Dr(r, !0), r.strm.avail_out === 0 ? Fs : Ea) : r.sym_next && (Dr(r, !1), r.strm.avail_out === 0) ? vr : ka;
17944
+ return r.insert = r.strstart < at - 1 ? r.strstart : at - 1, e === Wr ? (Dr(r, !0), r.strm.avail_out === 0 ? Fs : Ea) : r.sym_next && (Dr(r, !1), r.strm.avail_out === 0) ? vr : ka;
17932
17945
  }, aa = (r, e) => {
17933
17946
  let t, i, s;
17934
17947
  for (; ; ) {
@@ -17938,12 +17951,12 @@ const Or = (r) => {
17938
17951
  if (r.lookahead === 0)
17939
17952
  break;
17940
17953
  }
17941
- if (t = 0, r.lookahead >= st && (r.ins_h = ls(r, r.ins_h, r.window[r.strstart + st - 1]), t = r.prev[r.strstart & r.w_mask] = r.head[r.ins_h], r.head[r.ins_h] = r.strstart), r.prev_length = r.match_length, r.prev_match = r.match_start, r.match_length = st - 1, t !== 0 && r.prev_length < r.max_lazy_match && r.strstart - t <= r.w_size - bi && (r.match_length = Dp(r, t), r.match_length <= 5 && (r.strategy === DT || r.match_length === st && r.strstart - r.match_start > 4096) && (r.match_length = st - 1)), r.prev_length >= st && r.match_length <= r.prev_length) {
17942
- s = r.strstart + r.lookahead - st, i = ns(r, r.strstart - 1 - r.prev_match, r.prev_length - st), r.lookahead -= r.prev_length - 1, r.prev_length -= 2;
17954
+ if (t = 0, r.lookahead >= at && (r.ins_h = ls(r, r.ins_h, r.window[r.strstart + at - 1]), t = r.prev[r.strstart & r.w_mask] = r.head[r.ins_h], r.head[r.ins_h] = r.strstart), r.prev_length = r.match_length, r.prev_match = r.match_start, r.match_length = at - 1, t !== 0 && r.prev_length < r.max_lazy_match && r.strstart - t <= r.w_size - bi && (r.match_length = Dp(r, t), r.match_length <= 5 && (r.strategy === DT || r.match_length === at && r.strstart - r.match_start > 4096) && (r.match_length = at - 1)), r.prev_length >= at && r.match_length <= r.prev_length) {
17955
+ s = r.strstart + r.lookahead - at, i = ns(r, r.strstart - 1 - r.prev_match, r.prev_length - at), r.lookahead -= r.prev_length - 1, r.prev_length -= 2;
17943
17956
  do
17944
- ++r.strstart <= s && (r.ins_h = ls(r, r.ins_h, r.window[r.strstart + st - 1]), t = r.prev[r.strstart & r.w_mask] = r.head[r.ins_h], r.head[r.ins_h] = r.strstart);
17957
+ ++r.strstart <= s && (r.ins_h = ls(r, r.ins_h, r.window[r.strstart + at - 1]), t = r.prev[r.strstart & r.w_mask] = r.head[r.ins_h], r.head[r.ins_h] = r.strstart);
17945
17958
  while (--r.prev_length !== 0);
17946
- if (r.match_available = 0, r.match_length = st - 1, r.strstart++, i && (Dr(r, !1), r.strm.avail_out === 0))
17959
+ if (r.match_available = 0, r.match_length = at - 1, r.strstart++, i && (Dr(r, !1), r.strm.avail_out === 0))
17947
17960
  return vr;
17948
17961
  } else if (r.match_available) {
17949
17962
  if (i = ns(r, 0, r.window[r.strstart - 1]), i && Dr(r, !1), r.strstart++, r.lookahead--, r.strm.avail_out === 0)
@@ -17951,7 +17964,7 @@ const Or = (r) => {
17951
17964
  } else
17952
17965
  r.match_available = 1, r.strstart++, r.lookahead--;
17953
17966
  }
17954
- return r.match_available && (i = ns(r, 0, r.window[r.strstart - 1]), r.match_available = 0), r.insert = r.strstart < st - 1 ? r.strstart : st - 1, e === Wr ? (Dr(r, !0), r.strm.avail_out === 0 ? Fs : Ea) : r.sym_next && (Dr(r, !1), r.strm.avail_out === 0) ? vr : ka;
17967
+ return r.match_available && (i = ns(r, 0, r.window[r.strstart - 1]), r.match_available = 0), r.insert = r.strstart < at - 1 ? r.strstart : at - 1, e === Wr ? (Dr(r, !0), r.strm.avail_out === 0 ? Fs : Ea) : r.sym_next && (Dr(r, !1), r.strm.avail_out === 0) ? vr : ka;
17955
17968
  }, xT = (r, e) => {
17956
17969
  let t, i, s, a;
17957
17970
  const n = r.window;
@@ -17962,14 +17975,14 @@ const Or = (r) => {
17962
17975
  if (r.lookahead === 0)
17963
17976
  break;
17964
17977
  }
17965
- if (r.match_length = 0, r.lookahead >= st && r.strstart > 0 && (s = r.strstart - 1, i = n[s], i === n[++s] && i === n[++s] && i === n[++s])) {
17978
+ if (r.match_length = 0, r.lookahead >= at && r.strstart > 0 && (s = r.strstart - 1, i = n[s], i === n[++s] && i === n[++s] && i === n[++s])) {
17966
17979
  a = r.strstart + as;
17967
17980
  do
17968
17981
  ;
17969
17982
  while (i === n[++s] && i === n[++s] && i === n[++s] && i === n[++s] && i === n[++s] && i === n[++s] && i === n[++s] && i === n[++s] && s < a);
17970
17983
  r.match_length = as - (a - s), r.match_length > r.lookahead && (r.match_length = r.lookahead);
17971
17984
  }
17972
- if (r.match_length >= st ? (t = ns(r, 1, r.match_length - st), r.lookahead -= r.match_length, r.strstart += r.match_length, r.match_length = 0) : (t = ns(r, 0, r.window[r.strstart]), r.lookahead--, r.strstart++), t && (Dr(r, !1), r.strm.avail_out === 0))
17985
+ if (r.match_length >= at ? (t = ns(r, 1, r.match_length - at), r.lookahead -= r.match_length, r.strstart += r.match_length, r.match_length = 0) : (t = ns(r, 0, r.window[r.strstart]), r.lookahead--, r.strstart++), t && (Dr(r, !1), r.strm.avail_out === 0))
17973
17986
  return vr;
17974
17987
  }
17975
17988
  return r.insert = 0, e === Wr ? (Dr(r, !0), r.strm.avail_out === 0 ? Fs : Ea) : r.sym_next && (Dr(r, !1), r.strm.avail_out === 0) ? vr : ka;
@@ -18012,7 +18025,7 @@ const Ha = [
18012
18025
  new di(32, 258, 258, 4096, aa)
18013
18026
  /* 9 max compression */
18014
18027
  ], tC = (r) => {
18015
- r.window_size = 2 * r.w_size, is(r.head), r.max_lazy_match = Ha[r.level].max_lazy, r.good_match = Ha[r.level].good_length, r.nice_match = Ha[r.level].nice_length, r.max_chain_length = Ha[r.level].max_chain, r.strstart = 0, r.block_start = 0, r.lookahead = 0, r.insert = 0, r.match_length = r.prev_length = st - 1, r.match_available = 0, r.ins_h = 0;
18028
+ r.window_size = 2 * r.w_size, is(r.head), r.max_lazy_match = Ha[r.level].max_lazy, r.good_match = Ha[r.level].good_length, r.nice_match = Ha[r.level].nice_length, r.max_chain_length = Ha[r.level].max_chain, r.strstart = 0, r.block_start = 0, r.lookahead = 0, r.insert = 0, r.match_length = r.prev_length = at - 1, r.match_available = 0, r.ins_h = 0;
18016
18029
  };
18017
18030
  function rC() {
18018
18031
  this.strm = null, this.status = 0, this.pending_buf = null, this.pending_buf_size = 0, this.pending_out = 0, this.pending = 0, this.wrap = 0, this.gzhead = null, this.gzindex = 0, this.method = Bl, this.last_flush = -1, this.w_size = 0, this.w_bits = 0, this.w_mask = 0, this.window = null, this.window_size = 0, this.prev = null, this.head = null, this.ins_h = 0, this.hash_size = 0, this.hash_bits = 0, this.hash_mask = 0, this.hash_shift = 0, this.block_start = 0, this.match_length = 0, this.prev_match = 0, this.match_available = 0, this.strstart = 0, this.match_start = 0, this.lookahead = 0, this.prev_length = 0, this.max_chain_length = 0, this.max_lazy_match = 0, this.level = 0, this.strategy = 0, this.good_match = 0, this.nice_match = 0, this.dyn_ltree = new Uint16Array(YT * 2), this.dyn_dtree = new Uint16Array((2 * WT + 1) * 2), this.bl_tree = new Uint16Array((2 * qT + 1) * 2), is(this.dyn_ltree), is(this.dyn_dtree), is(this.bl_tree), this.l_desc = null, this.d_desc = null, this.bl_desc = null, this.bl_count = new Uint16Array(XT + 1), this.heap = new Uint16Array(2 * k1 + 1), is(this.heap), this.heap_len = 0, this.heap_max = 0, this.depth = new Uint16Array(2 * k1 + 1), is(this.depth), this.sym_buf = 0, this.lit_bufsize = 0, this.sym_next = 0, this.sym_end = 0, this.opt_len = 0, this.static_len = 0, this.matches = 0, this.insert = 0, this.bi_buf = 0, this.bi_valid = 0;
@@ -18045,7 +18058,7 @@ const To = (r) => {
18045
18058
  return Ms(r, mi);
18046
18059
  i === 8 && (i = 9);
18047
18060
  const o = new rC();
18048
- return r.state = o, o.strm = r, o.status = _a, o.wrap = n, o.gzhead = null, o.w_bits = i, o.w_size = 1 << o.w_bits, o.w_mask = o.w_size - 1, o.hash_bits = s + 7, o.hash_size = 1 << o.hash_bits, o.hash_mask = o.hash_size - 1, o.hash_shift = ~~((o.hash_bits + st - 1) / st), o.window = new Uint8Array(o.w_size * 2), o.head = new Uint16Array(o.hash_size), o.prev = new Uint16Array(o.w_size), o.lit_bufsize = 1 << s + 6, o.pending_buf_size = o.lit_bufsize * 4, o.pending_buf = new Uint8Array(o.pending_buf_size), o.sym_buf = o.lit_bufsize, o.sym_end = (o.lit_bufsize - 1) * 3, o.level = e, o.strategy = a, o.method = t, Fp(r);
18061
+ return r.state = o, o.strm = r, o.status = _a, o.wrap = n, o.gzhead = null, o.w_bits = i, o.w_size = 1 << o.w_bits, o.w_mask = o.w_size - 1, o.hash_bits = s + 7, o.hash_size = 1 << o.hash_bits, o.hash_mask = o.hash_size - 1, o.hash_shift = ~~((o.hash_bits + at - 1) / at), o.window = new Uint8Array(o.w_size * 2), o.head = new Uint16Array(o.hash_size), o.prev = new Uint16Array(o.w_size), o.lit_bufsize = 1 << s + 6, o.pending_buf_size = o.lit_bufsize * 4, o.pending_buf = new Uint8Array(o.pending_buf_size), o.sym_buf = o.lit_bufsize, o.sym_end = (o.lit_bufsize - 1) * 3, o.level = e, o.strategy = a, o.method = t, Fp(r);
18049
18062
  }, sC = (r, e) => Up(r, e, Bl, jT, BT, FT), aC = (r, e) => {
18050
18063
  if (To(r) || e > s2 || e < 0)
18051
18064
  return r ? Ms(r, mi) : mi;
@@ -18066,12 +18079,12 @@ const To = (r) => {
18066
18079
  return t.last_flush = -1, ar;
18067
18080
  }
18068
18081
  if (t.status === ou) {
18069
- if (r.adler = 0, pt(t, 31), pt(t, 139), pt(t, 8), t.gzhead)
18070
- pt(
18082
+ if (r.adler = 0, gt(t, 31), gt(t, 139), gt(t, 8), t.gzhead)
18083
+ gt(
18071
18084
  t,
18072
18085
  (t.gzhead.text ? 1 : 0) + (t.gzhead.hcrc ? 2 : 0) + (t.gzhead.extra ? 4 : 0) + (t.gzhead.name ? 8 : 0) + (t.gzhead.comment ? 16 : 0)
18073
- ), pt(t, t.gzhead.time & 255), pt(t, t.gzhead.time >> 8 & 255), pt(t, t.gzhead.time >> 16 & 255), pt(t, t.gzhead.time >> 24 & 255), pt(t, t.level === 9 ? 2 : t.strategy >= Go || t.level < 2 ? 4 : 0), pt(t, t.gzhead.os & 255), t.gzhead.extra && t.gzhead.extra.length && (pt(t, t.gzhead.extra.length & 255), pt(t, t.gzhead.extra.length >> 8 & 255)), t.gzhead.hcrc && (r.adler = er(r.adler, t.pending_buf, t.pending, 0)), t.gzindex = 0, t.status = E1;
18074
- else if (pt(t, 0), pt(t, 0), pt(t, 0), pt(t, 0), pt(t, 0), pt(t, t.level === 9 ? 2 : t.strategy >= Go || t.level < 2 ? 4 : 0), pt(t, ZT), t.status = As, Or(r), t.pending !== 0)
18086
+ ), gt(t, t.gzhead.time & 255), gt(t, t.gzhead.time >> 8 & 255), gt(t, t.gzhead.time >> 16 & 255), gt(t, t.gzhead.time >> 24 & 255), gt(t, t.level === 9 ? 2 : t.strategy >= Go || t.level < 2 ? 4 : 0), gt(t, t.gzhead.os & 255), t.gzhead.extra && t.gzhead.extra.length && (gt(t, t.gzhead.extra.length & 255), gt(t, t.gzhead.extra.length >> 8 & 255)), t.gzhead.hcrc && (r.adler = er(r.adler, t.pending_buf, t.pending, 0)), t.gzindex = 0, t.status = E1;
18087
+ else if (gt(t, 0), gt(t, 0), gt(t, 0), gt(t, 0), gt(t, 0), gt(t, t.level === 9 ? 2 : t.strategy >= Go || t.level < 2 ? 4 : 0), gt(t, ZT), t.status = As, Or(r), t.pending !== 0)
18075
18088
  return t.last_flush = -1, ar;
18076
18089
  }
18077
18090
  if (t.status === E1) {
@@ -18097,7 +18110,7 @@ const To = (r) => {
18097
18110
  return t.last_flush = -1, ar;
18098
18111
  s = 0;
18099
18112
  }
18100
- t.gzindex < t.gzhead.name.length ? a = t.gzhead.name.charCodeAt(t.gzindex++) & 255 : a = 0, pt(t, a);
18113
+ t.gzindex < t.gzhead.name.length ? a = t.gzhead.name.charCodeAt(t.gzindex++) & 255 : a = 0, gt(t, a);
18101
18114
  } while (a !== 0);
18102
18115
  t.gzhead.hcrc && t.pending > s && (r.adler = er(r.adler, t.pending_buf, t.pending - s, s)), t.gzindex = 0;
18103
18116
  }
@@ -18112,7 +18125,7 @@ const To = (r) => {
18112
18125
  return t.last_flush = -1, ar;
18113
18126
  s = 0;
18114
18127
  }
18115
- t.gzindex < t.gzhead.comment.length ? a = t.gzhead.comment.charCodeAt(t.gzindex++) & 255 : a = 0, pt(t, a);
18128
+ t.gzindex < t.gzhead.comment.length ? a = t.gzhead.comment.charCodeAt(t.gzindex++) & 255 : a = 0, gt(t, a);
18116
18129
  } while (a !== 0);
18117
18130
  t.gzhead.hcrc && t.pending > s && (r.adler = er(r.adler, t.pending_buf, t.pending - s, s));
18118
18131
  }
@@ -18122,7 +18135,7 @@ const To = (r) => {
18122
18135
  if (t.gzhead.hcrc) {
18123
18136
  if (t.pending + 2 > t.pending_buf_size && (Or(r), t.pending !== 0))
18124
18137
  return t.last_flush = -1, ar;
18125
- pt(t, r.adler & 255), pt(t, r.adler >> 8 & 255), r.adler = 0;
18138
+ gt(t, r.adler & 255), gt(t, r.adler >> 8 & 255), r.adler = 0;
18126
18139
  }
18127
18140
  if (t.status = As, Or(r), t.pending !== 0)
18128
18141
  return t.last_flush = -1, ar;
@@ -18134,7 +18147,7 @@ const To = (r) => {
18134
18147
  if (s === ka && (e === RT ? MT(t) : e !== s2 && (P1(t, 0, 0, !1), e === OT && (is(t.head), t.lookahead === 0 && (t.strstart = 0, t.block_start = 0, t.insert = 0))), Or(r), r.avail_out === 0))
18135
18148
  return t.last_flush = -1, ar;
18136
18149
  }
18137
- return e !== Wr ? ar : t.wrap <= 0 ? a2 : (t.wrap === 2 ? (pt(t, r.adler & 255), pt(t, r.adler >> 8 & 255), pt(t, r.adler >> 16 & 255), pt(t, r.adler >> 24 & 255), pt(t, r.total_in & 255), pt(t, r.total_in >> 8 & 255), pt(t, r.total_in >> 16 & 255), pt(t, r.total_in >> 24 & 255)) : (Fa(t, r.adler >>> 16), Fa(t, r.adler & 65535)), Or(r), t.wrap > 0 && (t.wrap = -t.wrap), t.pending !== 0 ? ar : a2);
18150
+ return e !== Wr ? ar : t.wrap <= 0 ? a2 : (t.wrap === 2 ? (gt(t, r.adler & 255), gt(t, r.adler >> 8 & 255), gt(t, r.adler >> 16 & 255), gt(t, r.adler >> 24 & 255), gt(t, r.total_in & 255), gt(t, r.total_in >> 8 & 255), gt(t, r.total_in >> 16 & 255), gt(t, r.total_in >> 24 & 255)) : (Fa(t, r.adler >>> 16), Fa(t, r.adler & 65535)), Or(r), t.wrap > 0 && (t.wrap = -t.wrap), t.pending !== 0 ? ar : a2);
18138
18151
  }, nC = (r) => {
18139
18152
  if (To(r))
18140
18153
  return mi;
@@ -18153,14 +18166,14 @@ const To = (r) => {
18153
18166
  l.set(e.subarray(t - i.w_size, t), 0), e = l, t = i.w_size;
18154
18167
  }
18155
18168
  const a = r.avail_in, n = r.next_in, o = r.input;
18156
- for (r.avail_in = t, r.next_in = 0, r.input = e, Ta(i); i.lookahead >= st; ) {
18157
- let l = i.strstart, h = i.lookahead - (st - 1);
18169
+ for (r.avail_in = t, r.next_in = 0, r.input = e, Ta(i); i.lookahead >= at; ) {
18170
+ let l = i.strstart, h = i.lookahead - (at - 1);
18158
18171
  do
18159
- i.ins_h = ls(i, i.ins_h, i.window[l + st - 1]), i.prev[l & i.w_mask] = i.head[i.ins_h], i.head[i.ins_h] = l, l++;
18172
+ i.ins_h = ls(i, i.ins_h, i.window[l + at - 1]), i.prev[l & i.w_mask] = i.head[i.ins_h], i.head[i.ins_h] = l, l++;
18160
18173
  while (--h);
18161
- i.strstart = l, i.lookahead = st - 1, Ta(i);
18174
+ i.strstart = l, i.lookahead = at - 1, Ta(i);
18162
18175
  }
18163
- return i.strstart += i.lookahead, i.block_start = i.strstart, i.insert = i.lookahead, i.lookahead = 0, i.match_length = i.prev_length = st - 1, i.match_available = 0, r.next_in = n, r.input = o, r.avail_in = a, i.wrap = s, ar;
18176
+ return i.strstart += i.lookahead, i.block_start = i.strstart, i.insert = i.lookahead, i.lookahead = 0, i.match_length = i.prev_length = at - 1, i.match_available = 0, r.next_in = n, r.input = o, r.avail_in = a, i.wrap = s, ar;
18164
18177
  };
18165
18178
  var lC = sC, hC = Up, uC = Fp, fC = Lp, dC = iC, cC = aC, pC = nC, gC = oC, vC = "pako deflate (from Nodeca project)", tn = {
18166
18179
  deflateInit: lC,
@@ -18644,7 +18657,7 @@ const XC = 0, Vp = 1, Hp = 2, {
18644
18657
  Z_MEM_ERROR: qp,
18645
18658
  Z_BUF_ERROR: QC,
18646
18659
  Z_DEFLATED: d2
18647
- } = Bs, Hl = 16180, c2 = 16181, p2 = 16182, g2 = 16183, v2 = 16184, m2 = 16185, b2 = 16186, y2 = 16187, _2 = 16188, T2 = 16189, wl = 16190, Mi = 16191, M0 = 16192, C2 = 16193, R0 = 16194, w2 = 16195, S2 = 16196, z2 = 16197, P2 = 16198, Vo = 16199, Ho = 16200, k2 = 16201, E2 = 16202, A2 = 16203, M2 = 16204, R2 = 16205, O0 = 16206, O2 = 16207, I2 = 16208, Pt = 16209, Yp = 16210, Xp = 16211, xC = 852, ew = 592, tw = 15, rw = tw, $2 = (r) => (r >>> 24 & 255) + (r >>> 8 & 65280) + ((r & 65280) << 8) + ((r & 255) << 24);
18660
+ } = Bs, Hl = 16180, c2 = 16181, p2 = 16182, g2 = 16183, v2 = 16184, m2 = 16185, b2 = 16186, y2 = 16187, _2 = 16188, T2 = 16189, wl = 16190, Mi = 16191, M0 = 16192, C2 = 16193, R0 = 16194, w2 = 16195, S2 = 16196, z2 = 16197, P2 = 16198, Vo = 16199, Ho = 16200, k2 = 16201, E2 = 16202, A2 = 16203, M2 = 16204, R2 = 16205, O0 = 16206, O2 = 16207, I2 = 16208, kt = 16209, Yp = 16210, Xp = 16211, xC = 852, ew = 592, tw = 15, rw = tw, $2 = (r) => (r >>> 24 & 255) + (r >>> 8 & 65280) + ((r & 65280) << 8) + ((r & 255) << 24);
18648
18661
  function iw() {
18649
18662
  this.strm = null, this.mode = 0, this.last = !1, this.wrap = 0, this.havedict = !1, this.flags = 0, this.dmax = 0, this.check = 0, this.total = 0, this.head = null, this.wbits = 0, this.wsize = 0, this.whave = 0, this.wnext = 0, this.window = null, this.hold = 0, this.bits = 0, this.length = 0, this.offset = 0, this.extra = 0, this.lencode = null, this.distcode = null, this.lenbits = 0, this.distbits = 0, this.ncode = 0, this.nlen = 0, this.ndist = 0, this.have = 0, this.next = null, this.lens = new Uint16Array(320), this.work = new Uint16Array(288), this.lendyn = null, this.distdyn = null, this.sane = 0, this.back = 0, this.was = 0;
18650
18663
  }
@@ -18729,15 +18742,15 @@ const aw = (r) => {
18729
18742
  }
18730
18743
  if (t.head && (t.head.done = !1), !(t.wrap & 1) || /* check if zlib header allowed */
18731
18744
  (((h & 255) << 8) + (h >> 8)) % 31) {
18732
- r.msg = "incorrect header check", t.mode = Pt;
18745
+ r.msg = "incorrect header check", t.mode = kt;
18733
18746
  break;
18734
18747
  }
18735
18748
  if ((h & 15) !== d2) {
18736
- r.msg = "unknown compression method", t.mode = Pt;
18749
+ r.msg = "unknown compression method", t.mode = kt;
18737
18750
  break;
18738
18751
  }
18739
18752
  if (h >>>= 4, u -= 4, I = (h & 15) + 8, t.wbits === 0 && (t.wbits = I), I > 15 || I > t.wbits) {
18740
- r.msg = "invalid window size", t.mode = Pt;
18753
+ r.msg = "invalid window size", t.mode = kt;
18741
18754
  break;
18742
18755
  }
18743
18756
  t.dmax = 1 << t.wbits, t.flags = 0, r.adler = t.check = 1, t.mode = h & 512 ? T2 : Mi, h = 0, u = 0;
@@ -18749,11 +18762,11 @@ const aw = (r) => {
18749
18762
  o--, h += i[a++] << u, u += 8;
18750
18763
  }
18751
18764
  if (t.flags = h, (t.flags & 255) !== d2) {
18752
- r.msg = "unknown compression method", t.mode = Pt;
18765
+ r.msg = "unknown compression method", t.mode = kt;
18753
18766
  break;
18754
18767
  }
18755
18768
  if (t.flags & 57344) {
18756
- r.msg = "unknown header flags set", t.mode = Pt;
18769
+ r.msg = "unknown header flags set", t.mode = kt;
18757
18770
  break;
18758
18771
  }
18759
18772
  t.head && (t.head.text = h >> 8 & 1), t.flags & 512 && t.wrap & 4 && (G[0] = h & 255, G[1] = h >>> 8 & 255, t.check = er(t.check, G, 2, 0)), h = 0, u = 0, t.mode = p2;
@@ -18829,7 +18842,7 @@ const aw = (r) => {
18829
18842
  o--, h += i[a++] << u, u += 8;
18830
18843
  }
18831
18844
  if (t.wrap & 4 && h !== (t.check & 65535)) {
18832
- r.msg = "header crc mismatch", t.mode = Pt;
18845
+ r.msg = "header crc mismatch", t.mode = kt;
18833
18846
  break;
18834
18847
  }
18835
18848
  h = 0, u = 0;
@@ -18874,7 +18887,7 @@ const aw = (r) => {
18874
18887
  t.mode = S2;
18875
18888
  break;
18876
18889
  case 3:
18877
- r.msg = "invalid block type", t.mode = Pt;
18890
+ r.msg = "invalid block type", t.mode = kt;
18878
18891
  }
18879
18892
  h >>>= 2, u -= 2;
18880
18893
  break;
@@ -18885,7 +18898,7 @@ const aw = (r) => {
18885
18898
  o--, h += i[a++] << u, u += 8;
18886
18899
  }
18887
18900
  if ((h & 65535) !== (h >>> 16 ^ 65535)) {
18888
- r.msg = "invalid stored block lengths", t.mode = Pt;
18901
+ r.msg = "invalid stored block lengths", t.mode = kt;
18889
18902
  break;
18890
18903
  }
18891
18904
  if (t.length = h & 65535, h = 0, u = 0, t.mode = R0, e === Bo)
@@ -18908,7 +18921,7 @@ const aw = (r) => {
18908
18921
  o--, h += i[a++] << u, u += 8;
18909
18922
  }
18910
18923
  if (t.nlen = (h & 31) + 257, h >>>= 5, u -= 5, t.ndist = (h & 31) + 1, h >>>= 5, u -= 5, t.ncode = (h & 15) + 4, h >>>= 4, u -= 4, t.nlen > 286 || t.ndist > 30) {
18911
- r.msg = "too many length or distance symbols", t.mode = Pt;
18924
+ r.msg = "too many length or distance symbols", t.mode = kt;
18912
18925
  break;
18913
18926
  }
18914
18927
  t.have = 0, t.mode = z2;
@@ -18924,7 +18937,7 @@ const aw = (r) => {
18924
18937
  for (; t.have < 19; )
18925
18938
  t.lens[Y[t.have++]] = 0;
18926
18939
  if (t.lencode = t.lendyn, t.lenbits = 7, U = { bits: t.lenbits }, $ = rn(XC, t.lens, 0, 19, t.lencode, 0, t.work, U), t.lenbits = U.bits, $) {
18927
- r.msg = "invalid code lengths set", t.mode = Pt;
18940
+ r.msg = "invalid code lengths set", t.mode = kt;
18928
18941
  break;
18929
18942
  }
18930
18943
  t.have = 0, t.mode = P2;
@@ -18945,7 +18958,7 @@ const aw = (r) => {
18945
18958
  o--, h += i[a++] << u, u += 8;
18946
18959
  }
18947
18960
  if (h >>>= _, u -= _, t.have === 0) {
18948
- r.msg = "invalid bit length repeat", t.mode = Pt;
18961
+ r.msg = "invalid bit length repeat", t.mode = kt;
18949
18962
  break;
18950
18963
  }
18951
18964
  I = t.lens[t.have - 1], f = 3 + (h & 3), h >>>= 2, u -= 2;
@@ -18965,25 +18978,25 @@ const aw = (r) => {
18965
18978
  h >>>= _, u -= _, I = 0, f = 11 + (h & 127), h >>>= 7, u -= 7;
18966
18979
  }
18967
18980
  if (t.have + f > t.nlen + t.ndist) {
18968
- r.msg = "invalid bit length repeat", t.mode = Pt;
18981
+ r.msg = "invalid bit length repeat", t.mode = kt;
18969
18982
  break;
18970
18983
  }
18971
18984
  for (; f--; )
18972
18985
  t.lens[t.have++] = I;
18973
18986
  }
18974
18987
  }
18975
- if (t.mode === Pt)
18988
+ if (t.mode === kt)
18976
18989
  break;
18977
18990
  if (t.lens[256] === 0) {
18978
- r.msg = "invalid code -- missing end-of-block", t.mode = Pt;
18991
+ r.msg = "invalid code -- missing end-of-block", t.mode = kt;
18979
18992
  break;
18980
18993
  }
18981
18994
  if (t.lenbits = 9, U = { bits: t.lenbits }, $ = rn(Vp, t.lens, 0, t.nlen, t.lencode, 0, t.work, U), t.lenbits = U.bits, $) {
18982
- r.msg = "invalid literal/lengths set", t.mode = Pt;
18995
+ r.msg = "invalid literal/lengths set", t.mode = kt;
18983
18996
  break;
18984
18997
  }
18985
18998
  if (t.distbits = 6, t.distcode = t.distdyn, U = { bits: t.distbits }, $ = rn(Hp, t.lens, t.nlen, t.ndist, t.distcode, 0, t.work, U), t.distbits = U.bits, $) {
18986
- r.msg = "invalid distances set", t.mode = Pt;
18999
+ r.msg = "invalid distances set", t.mode = kt;
18987
19000
  break;
18988
19001
  }
18989
19002
  if (t.mode = Vo, e === Bo)
@@ -19017,7 +19030,7 @@ const aw = (r) => {
19017
19030
  break;
19018
19031
  }
19019
19032
  if (T & 64) {
19020
- r.msg = "invalid literal/length code", t.mode = Pt;
19033
+ r.msg = "invalid literal/length code", t.mode = kt;
19021
19034
  break;
19022
19035
  }
19023
19036
  t.extra = T & 15, t.mode = k2;
@@ -19046,7 +19059,7 @@ const aw = (r) => {
19046
19059
  h >>>= w, u -= w, t.back += w;
19047
19060
  }
19048
19061
  if (h >>>= _, u -= _, t.back += _, T & 64) {
19049
- r.msg = "invalid distance code", t.mode = Pt;
19062
+ r.msg = "invalid distance code", t.mode = kt;
19050
19063
  break;
19051
19064
  }
19052
19065
  t.offset = m, t.extra = T & 15, t.mode = A2;
@@ -19060,7 +19073,7 @@ const aw = (r) => {
19060
19073
  t.offset += h & (1 << t.extra) - 1, h >>>= t.extra, u -= t.extra, t.back += t.extra;
19061
19074
  }
19062
19075
  if (t.offset > t.dmax) {
19063
- r.msg = "invalid distance too far back", t.mode = Pt;
19076
+ r.msg = "invalid distance too far back", t.mode = kt;
19064
19077
  break;
19065
19078
  }
19066
19079
  t.mode = M2;
@@ -19069,7 +19082,7 @@ const aw = (r) => {
19069
19082
  break e;
19070
19083
  if (f = c - l, t.offset > f) {
19071
19084
  if (f = t.offset - f, f > t.whave && t.sane) {
19072
- r.msg = "invalid distance too far back", t.mode = Pt;
19085
+ r.msg = "invalid distance too far back", t.mode = kt;
19073
19086
  break;
19074
19087
  }
19075
19088
  f > t.wnext ? (f -= t.wnext, p = t.wsize - f) : p = t.wnext - f, f > t.length && (f = t.length), g = t.window;
@@ -19095,7 +19108,7 @@ const aw = (r) => {
19095
19108
  }
19096
19109
  if (c -= l, r.total_out += c, t.total += c, t.wrap & 4 && c && (r.adler = t.check = /*UPDATE_CHECK(state.check, put - _out, _out);*/
19097
19110
  t.flags ? er(t.check, s, c, n - c) : yn(t.check, s, c, n - c)), c = l, t.wrap & 4 && (t.flags ? h : $2(h)) !== t.check) {
19098
- r.msg = "incorrect data check", t.mode = Pt;
19111
+ r.msg = "incorrect data check", t.mode = kt;
19099
19112
  break;
19100
19113
  }
19101
19114
  h = 0, u = 0;
@@ -19109,7 +19122,7 @@ const aw = (r) => {
19109
19122
  o--, h += i[a++] << u, u += 8;
19110
19123
  }
19111
19124
  if (t.wrap & 4 && h !== (t.total & 4294967295)) {
19112
- r.msg = "incorrect length check", t.mode = Pt;
19125
+ r.msg = "incorrect length check", t.mode = kt;
19113
19126
  break;
19114
19127
  }
19115
19128
  h = 0, u = 0;
@@ -19118,7 +19131,7 @@ const aw = (r) => {
19118
19131
  case I2:
19119
19132
  $ = ZC;
19120
19133
  break e;
19121
- case Pt:
19134
+ case kt:
19122
19135
  $ = Wp;
19123
19136
  break e;
19124
19137
  case Yp:
@@ -19127,7 +19140,7 @@ const aw = (r) => {
19127
19140
  default:
19128
19141
  return Yr;
19129
19142
  }
19130
- return r.next_out = n, r.avail_out = l, r.next_in = a, r.avail_in = o, t.hold = h, t.bits = u, (t.wsize || c !== r.avail_out && t.mode < Pt && (t.mode < O0 || e !== f2)) && xp(r, r.output, r.next_out, c - r.avail_out), d -= r.avail_in, c -= r.avail_out, r.total_in += d, r.total_out += c, t.total += c, t.wrap & 4 && c && (r.adler = t.check = /*UPDATE_CHECK(state.check, strm.next_out - _out, _out);*/
19143
+ return r.next_out = n, r.avail_out = l, r.next_in = a, r.avail_in = o, t.hold = h, t.bits = u, (t.wsize || c !== r.avail_out && t.mode < kt && (t.mode < O0 || e !== f2)) && xp(r, r.output, r.next_out, c - r.avail_out), d -= r.avail_in, c -= r.avail_out, r.total_in += d, r.total_out += c, t.total += c, t.wrap & 4 && c && (r.adler = t.check = /*UPDATE_CHECK(state.check, strm.next_out - _out, _out);*/
19131
19144
  t.flags ? er(t.check, s, c, r.next_out - c) : yn(t.check, s, c, r.next_out - c)), r.data_type = t.bits + (t.last ? 64 : 0) + (t.mode === Mi ? 128 : 0) + (t.mode === Vo || t.mode === R0 ? 256 : 0), (d === 0 && c === 0 || e === f2) && $ === Us && ($ = QC), $;
19132
19145
  }, ow = (r) => {
19133
19146
  if (Vs(r))
@@ -21227,7 +21240,7 @@ for (let r = 8; r < 256; r++)
21227
21240
  tr.EXP_TABLE[r] = tr.EXP_TABLE[r - 4] ^ tr.EXP_TABLE[r - 5] ^ tr.EXP_TABLE[r - 6] ^ tr.EXP_TABLE[r - 8];
21228
21241
  for (let r = 0; r < 255; r++)
21229
21242
  tr.LOG_TABLE[tr.EXP_TABLE[r]] = r;
21230
- const kt = {
21243
+ const Et = {
21231
21244
  PATTERN_POSITION_TABLE: [
21232
21245
  [],
21233
21246
  [6, 18],
@@ -21275,14 +21288,14 @@ const kt = {
21275
21288
  G15_MASK: 21522,
21276
21289
  getBCHTypeInfo: function(r) {
21277
21290
  let e = r << 10;
21278
- for (; kt.getBCHDigit(e) - kt.getBCHDigit(kt.G15) >= 0; )
21279
- e ^= kt.G15 << kt.getBCHDigit(e) - kt.getBCHDigit(kt.G15);
21280
- return (r << 10 | e) ^ kt.G15_MASK;
21291
+ for (; Et.getBCHDigit(e) - Et.getBCHDigit(Et.G15) >= 0; )
21292
+ e ^= Et.G15 << Et.getBCHDigit(e) - Et.getBCHDigit(Et.G15);
21293
+ return (r << 10 | e) ^ Et.G15_MASK;
21281
21294
  },
21282
21295
  getBCHTypeNumber: function(r) {
21283
21296
  let e = r << 12;
21284
- for (; kt.getBCHDigit(e) - kt.getBCHDigit(kt.G18) >= 0; )
21285
- e ^= kt.G18 << kt.getBCHDigit(e) - kt.getBCHDigit(kt.G18);
21297
+ for (; Et.getBCHDigit(e) - Et.getBCHDigit(Et.G18) >= 0; )
21298
+ e ^= Et.G18 << Et.getBCHDigit(e) - Et.getBCHDigit(Et.G18);
21286
21299
  return r << 12 | e;
21287
21300
  },
21288
21301
  getBCHDigit: function(r) {
@@ -21292,7 +21305,7 @@ const kt = {
21292
21305
  return e;
21293
21306
  },
21294
21307
  getPatternPosition: function(r) {
21295
- return kt.PATTERN_POSITION_TABLE[r - 1];
21308
+ return Et.PATTERN_POSITION_TABLE[r - 1];
21296
21309
  },
21297
21310
  getMask: function(r, e, t) {
21298
21311
  switch (r) {
@@ -21751,7 +21764,7 @@ class Rs {
21751
21764
  const n = this.dataList[a];
21752
21765
  i.put(n.mode, 4), i.put(
21753
21766
  n.getLength(),
21754
- kt.getLengthInBits(n.mode, e)
21767
+ Et.getLengthInBits(n.mode, e)
21755
21768
  ), n.write(i);
21756
21769
  }
21757
21770
  if (i.getLengthInBits() <= s * 8)
@@ -21784,7 +21797,7 @@ class Rs {
21784
21797
  let e = 0, t = 0;
21785
21798
  for (let i = 0; i < 8; i++) {
21786
21799
  this.makeImpl(!0, i);
21787
- const s = kt.getLostPoint(this);
21800
+ const s = Et.getLostPoint(this);
21788
21801
  (i == 0 || e > s) && (e = s, t = i);
21789
21802
  }
21790
21803
  return t;
@@ -21808,7 +21821,7 @@ class Rs {
21808
21821
  this.modules[6][e] == null && (this.modules[6][e] = e % 2 == 0);
21809
21822
  }
21810
21823
  setupPositionAdjustPattern() {
21811
- const e = kt.getPatternPosition(this.typeNumber);
21824
+ const e = Et.getPatternPosition(this.typeNumber);
21812
21825
  for (let t = 0; t < e.length; t++)
21813
21826
  for (let i = 0; i < e.length; i++) {
21814
21827
  const s = e[t], a = e[i];
@@ -21819,7 +21832,7 @@ class Rs {
21819
21832
  }
21820
21833
  }
21821
21834
  setupTypeNumber(e) {
21822
- const t = kt.getBCHTypeNumber(this.typeNumber);
21835
+ const t = Et.getBCHTypeNumber(this.typeNumber);
21823
21836
  for (let i = 0; i < 18; i++) {
21824
21837
  const s = !e && (t >> i & 1) == 1;
21825
21838
  this.modules[Math.floor(i / 3)][i % 3 + this.moduleCount - 8 - 3] = s;
@@ -21830,7 +21843,7 @@ class Rs {
21830
21843
  }
21831
21844
  }
21832
21845
  setupTypeInfo(e, t) {
21833
- const i = this.errorCorrectLevel << 3 | t, s = kt.getBCHTypeInfo(i);
21846
+ const i = this.errorCorrectLevel << 3 | t, s = Et.getBCHTypeInfo(i);
21834
21847
  for (let a = 0; a < 15; a++) {
21835
21848
  const n = !e && (s >> a & 1) == 1;
21836
21849
  a < 6 ? this.modules[a][8] = n : a < 8 ? this.modules[a + 1][8] = n : this.modules[this.moduleCount - 15 + a][8] = n;
@@ -21848,7 +21861,7 @@ class Rs {
21848
21861
  for (let l = 0; l < 2; l++)
21849
21862
  if (this.modules[s][o - l] == null) {
21850
21863
  let h = !1;
21851
- n < e.length && (h = (e[n] >>> a & 1) == 1), kt.getMask(t, s, o - l) && (h = !h), this.modules[s][o - l] = h, a--, a == -1 && (n++, a = 7);
21864
+ n < e.length && (h = (e[n] >>> a & 1) == 1), Et.getMask(t, s, o - l) && (h = !h), this.modules[s][o - l] = h, a--, a == -1 && (n++, a = 7);
21852
21865
  }
21853
21866
  if (s += i, s < 0 || this.moduleCount <= s) {
21854
21867
  s -= i, i = -i;
@@ -21862,7 +21875,7 @@ class Rs {
21862
21875
  const l = i[o];
21863
21876
  a.put(l.mode, 4), a.put(
21864
21877
  l.getLength(),
21865
- kt.getLengthInBits(l.mode, e)
21878
+ Et.getLengthInBits(l.mode, e)
21866
21879
  ), l.write(a);
21867
21880
  }
21868
21881
  let n = 0;
@@ -21887,7 +21900,7 @@ class Rs {
21887
21900
  for (let _ = 0; _ < n[d].length; _++)
21888
21901
  n[d][_] = 255 & e.buffer[_ + i];
21889
21902
  i += c;
21890
- const p = kt.getErrorCorrectPolynomial(f), y = new Ca(n[d], p.getLength() - 1).mod(p);
21903
+ const p = Et.getErrorCorrectPolynomial(f), y = new Ca(n[d], p.getLength() - 1).mod(p);
21891
21904
  o[d] = new Array(p.getLength() - 1);
21892
21905
  for (let _ = 0; _ < o[d].length; _++) {
21893
21906
  const T = _ + y.getLength() - o[d].length;
@@ -22695,7 +22708,7 @@ const iS = So.nextId, sS = Xr.getAll.bind(Xr), aS = Xr.removeAll.bind(Xr), nS =
22695
22708
  remove: oS,
22696
22709
  update: lS
22697
22710
  };
22698
- class Wl extends Tt {
22711
+ class Wl extends Ct {
22699
22712
  app;
22700
22713
  rotate;
22701
22714
  scale;
@@ -34347,9 +34360,9 @@ const gS = /* @__PURE__ */ Pr(cu), vS = /* @__PURE__ */ Ne({
34347
34360
  __proto__: null,
34348
34361
  default: gS
34349
34362
  }, [cu]), Nt = /* @__PURE__ */ Le(vS);
34350
- var Sn = {}, pu = {}, St = {};
34351
- Object.defineProperty(St, "__esModule", { value: !0 });
34352
- var l5 = St.getComponentValidator = b5 = St.getBooleanValidator = m5 = St.getNumberArrayValidator = v5 = St.getFunctionValidator = g5 = St.getStringOrGradientValidator = p5 = St.getStringValidator = c5 = St.getNumberOrAutoValidator = d5 = St.getNumberOrArrayOfNumbersValidator = f5 = St.getNumberValidator = u5 = St.alphaComponent = h5 = St.RGBComponent = void 0;
34363
+ var Sn = {}, pu = {}, zt = {};
34364
+ Object.defineProperty(zt, "__esModule", { value: !0 });
34365
+ var l5 = zt.getComponentValidator = b5 = zt.getBooleanValidator = m5 = zt.getNumberArrayValidator = v5 = zt.getFunctionValidator = g5 = zt.getStringOrGradientValidator = p5 = zt.getStringValidator = c5 = zt.getNumberOrAutoValidator = d5 = zt.getNumberOrArrayOfNumbersValidator = f5 = zt.getNumberValidator = u5 = zt.alphaComponent = h5 = zt.RGBComponent = void 0;
34353
34366
  const qi = et, Dt = Nt;
34354
34367
  function Yi(r) {
34355
34368
  return Dt.Util._isString(r) ? '"' + r + '"' : Object.prototype.toString.call(r) === "[object Number]" || Dt.Util._isBoolean(r) ? r : Object.prototype.toString.call(r);
@@ -34357,18 +34370,18 @@ function Yi(r) {
34357
34370
  function mS(r) {
34358
34371
  return r > 255 ? 255 : r < 0 ? 0 : Math.round(r);
34359
34372
  }
34360
- var h5 = St.RGBComponent = mS;
34373
+ var h5 = zt.RGBComponent = mS;
34361
34374
  function bS(r) {
34362
34375
  return r > 1 ? 1 : r < 1e-4 ? 1e-4 : r;
34363
34376
  }
34364
- var u5 = St.alphaComponent = bS;
34377
+ var u5 = zt.alphaComponent = bS;
34365
34378
  function yS() {
34366
34379
  if (qi.Konva.isUnminified)
34367
34380
  return function(r, e) {
34368
34381
  return Dt.Util._isNumber(r) || Dt.Util.warn(Yi(r) + ' is a not valid value for "' + e + '" attribute. The value should be a number.'), r;
34369
34382
  };
34370
34383
  }
34371
- var f5 = St.getNumberValidator = yS;
34384
+ var f5 = zt.getNumberValidator = yS;
34372
34385
  function _S(r) {
34373
34386
  if (qi.Konva.isUnminified)
34374
34387
  return function(e, t) {
@@ -34376,7 +34389,7 @@ function _S(r) {
34376
34389
  return !i && !s && Dt.Util.warn(Yi(e) + ' is a not valid value for "' + t + '" attribute. The value should be a number or Array<number>(' + r + ")"), e;
34377
34390
  };
34378
34391
  }
34379
- var d5 = St.getNumberOrArrayOfNumbersValidator = _S;
34392
+ var d5 = zt.getNumberOrArrayOfNumbersValidator = _S;
34380
34393
  function TS() {
34381
34394
  if (qi.Konva.isUnminified)
34382
34395
  return function(r, e) {
@@ -34384,14 +34397,14 @@ function TS() {
34384
34397
  return t || i || Dt.Util.warn(Yi(r) + ' is a not valid value for "' + e + '" attribute. The value should be a number or "auto".'), r;
34385
34398
  };
34386
34399
  }
34387
- var c5 = St.getNumberOrAutoValidator = TS;
34400
+ var c5 = zt.getNumberOrAutoValidator = TS;
34388
34401
  function CS() {
34389
34402
  if (qi.Konva.isUnminified)
34390
34403
  return function(r, e) {
34391
34404
  return Dt.Util._isString(r) || Dt.Util.warn(Yi(r) + ' is a not valid value for "' + e + '" attribute. The value should be a string.'), r;
34392
34405
  };
34393
34406
  }
34394
- var p5 = St.getStringValidator = CS;
34407
+ var p5 = zt.getStringValidator = CS;
34395
34408
  function wS() {
34396
34409
  if (qi.Konva.isUnminified)
34397
34410
  return function(r, e) {
@@ -34399,14 +34412,14 @@ function wS() {
34399
34412
  return t || i || Dt.Util.warn(Yi(r) + ' is a not valid value for "' + e + '" attribute. The value should be a string or a native gradient.'), r;
34400
34413
  };
34401
34414
  }
34402
- var g5 = St.getStringOrGradientValidator = wS;
34415
+ var g5 = zt.getStringOrGradientValidator = wS;
34403
34416
  function SS() {
34404
34417
  if (qi.Konva.isUnminified)
34405
34418
  return function(r, e) {
34406
34419
  return Dt.Util._isFunction(r) || Dt.Util.warn(Yi(r) + ' is a not valid value for "' + e + '" attribute. The value should be a function.'), r;
34407
34420
  };
34408
34421
  }
34409
- var v5 = St.getFunctionValidator = SS;
34422
+ var v5 = zt.getFunctionValidator = SS;
34410
34423
  function zS() {
34411
34424
  if (qi.Konva.isUnminified)
34412
34425
  return function(r, e) {
@@ -34416,7 +34429,7 @@ function zS() {
34416
34429
  }) : Dt.Util.warn(Yi(r) + ' is a not valid value for "' + e + '" attribute. The value should be a array of numbers.')), r;
34417
34430
  };
34418
34431
  }
34419
- var m5 = St.getNumberArrayValidator = zS;
34432
+ var m5 = zt.getNumberArrayValidator = zS;
34420
34433
  function PS() {
34421
34434
  if (qi.Konva.isUnminified)
34422
34435
  return function(r, e) {
@@ -34424,14 +34437,14 @@ function PS() {
34424
34437
  return t || Dt.Util.warn(Yi(r) + ' is a not valid value for "' + e + '" attribute. The value should be a boolean.'), r;
34425
34438
  };
34426
34439
  }
34427
- var b5 = St.getBooleanValidator = PS;
34440
+ var b5 = zt.getBooleanValidator = PS;
34428
34441
  function kS(r) {
34429
34442
  if (qi.Konva.isUnminified)
34430
34443
  return function(e, t) {
34431
34444
  return e == null || Dt.Util.isObject(e) || Dt.Util.warn(Yi(e) + ' is a not valid value for "' + t + '" attribute. The value should be an object with properties ' + r), e;
34432
34445
  };
34433
34446
  }
34434
- l5 = St.getComponentValidator = kS;
34447
+ l5 = zt.getComponentValidator = kS;
34435
34448
  const ES = /* @__PURE__ */ Ne({
34436
34449
  __proto__: null,
34437
34450
  get RGBComponent() {
@@ -34440,7 +34453,7 @@ const ES = /* @__PURE__ */ Ne({
34440
34453
  get alphaComponent() {
34441
34454
  return u5;
34442
34455
  },
34443
- default: St,
34456
+ default: zt,
34444
34457
  get getBooleanValidator() {
34445
34458
  return b5;
34446
34459
  },
@@ -34468,7 +34481,7 @@ const ES = /* @__PURE__ */ Ne({
34468
34481
  get getStringValidator() {
34469
34482
  return p5;
34470
34483
  }
34471
- }, [St]), tt = /* @__PURE__ */ Le(ES);
34484
+ }, [zt]), tt = /* @__PURE__ */ Le(ES);
34472
34485
  (function(r) {
34473
34486
  Object.defineProperty(r, "__esModule", { value: !0 }), r.Factory = void 0;
34474
34487
  const e = Nt, t = tt;
@@ -35093,7 +35106,7 @@ const JS = /* @__PURE__ */ Pr(gu), QS = /* @__PURE__ */ Ne({
35093
35106
  }, [gu]), vu = /* @__PURE__ */ Le(QS);
35094
35107
  Object.defineProperty(Sn, "__esModule", { value: !0 });
35095
35108
  var A5 = Sn.Node = void 0;
35096
- const it = Nt, zo = xe, Yo = Xl, Cs = et, Br = vu, jt = tt;
35109
+ const st = Nt, zo = xe, Yo = Xl, Cs = et, Br = vu, jt = tt;
35097
35110
  var hl = "absoluteOpacity", Xo = "allEventListeners", Ii = "absoluteTransform", q2 = "absoluteScale", ws = "canvas", xS = "Change", ez = "children", tz = "konva", $1 = "listening", Y2 = "mouseenter", X2 = "mouseleave", K2 = "set", Z2 = "Shape", ul = " ", J2 = "stage", rs = "transform", rz = "Stage", D1 = "visible", iz = [
35098
35111
  "xChange.konva",
35099
35112
  "yChange.konva",
@@ -35138,7 +35151,7 @@ let sz = 1, Ke = class N1 {
35138
35151
  clearCache() {
35139
35152
  if (this._cache.has(ws)) {
35140
35153
  const { scene: e, filter: t, hit: i } = this._cache.get(ws);
35141
- it.Util.releaseCanvas(e, t, i), this._cache.delete(ws);
35154
+ st.Util.releaseCanvas(e, t, i), this._cache.delete(ws);
35142
35155
  }
35143
35156
  return this._clearSelfAndDescendantCache(), this._requestDraw(), this;
35144
35157
  }
@@ -35150,7 +35163,7 @@ let sz = 1, Ke = class N1 {
35150
35163
  }));
35151
35164
  var s = Math.ceil(t.width || i.width), a = Math.ceil(t.height || i.height), n = t.pixelRatio, o = t.x === void 0 ? Math.floor(i.x) : t.x, l = t.y === void 0 ? Math.floor(i.y) : t.y, h = t.offset || 0, u = t.drawBorder || !1, d = t.hitCanvasPixelRatio || 1;
35152
35165
  if (!s || !a) {
35153
- it.Util.error("Can not cache the node. Width or height of the node equals 0. Caching is skipped.");
35166
+ st.Util.error("Can not cache the node. Width or height of the node equals 0. Caching is skipped.");
35154
35167
  return;
35155
35168
  }
35156
35169
  s += h * 2 + 1, a += h * 2 + 1, o -= h, l -= h;
@@ -35219,13 +35232,13 @@ let sz = 1, Ke = class N1 {
35219
35232
  try {
35220
35233
  for (n = e.length, a.clear(), a.drawImage(i._canvas, 0, 0, i.getWidth() / u, i.getHeight() / u), o = a.getImageData(0, 0, s.getWidth(), s.getHeight()), l = 0; l < n; l++) {
35221
35234
  if (h = e[l], typeof h != "function") {
35222
- it.Util.error("Filter should be type of function, but got " + typeof h + " instead. Please check correct filters");
35235
+ st.Util.error("Filter should be type of function, but got " + typeof h + " instead. Please check correct filters");
35223
35236
  continue;
35224
35237
  }
35225
35238
  h.call(this, o), a.putImageData(o, 0, 0);
35226
35239
  }
35227
35240
  } catch (d) {
35228
- it.Util.error("Unable to apply filter. " + d.message + " This post my help you https://konvajs.org/docs/posts/Tainted_Canvas.html.");
35241
+ st.Util.error("Unable to apply filter. " + d.message + " This post my help you https://konvajs.org/docs/posts/Tainted_Canvas.html.");
35229
35242
  }
35230
35243
  this._filterUpToDate = !0;
35231
35244
  }
@@ -35277,7 +35290,7 @@ let sz = 1, Ke = class N1 {
35277
35290
  var s = this;
35278
35291
  this.on(e, function(a) {
35279
35292
  for (var n = a.target.findAncestors(t, !0, s), o = 0; o < n.length; o++)
35280
- a = it.Util.cloneObject(a), a.currentTarget = n[o], i.call(n[o], a);
35293
+ a = st.Util.cloneObject(a), a.currentTarget = n[o], i.call(n[o], a);
35281
35294
  });
35282
35295
  }
35283
35296
  remove() {
@@ -35295,8 +35308,8 @@ let sz = 1, Ke = class N1 {
35295
35308
  return this.remove(), this.clearCache(), this;
35296
35309
  }
35297
35310
  getAttr(e) {
35298
- var t = "get" + it.Util._capitalize(e);
35299
- return it.Util._isFunction(this[t]) ? this[t]() : this.attrs[e];
35311
+ var t = "get" + st.Util._capitalize(e);
35312
+ return st.Util._isFunction(this[t]) ? this[t]() : this.attrs[e];
35300
35313
  }
35301
35314
  getAncestors() {
35302
35315
  for (var e = this.getParent(), t = []; e; )
@@ -35312,7 +35325,7 @@ let sz = 1, Ke = class N1 {
35312
35325
  if (!e)
35313
35326
  return this;
35314
35327
  for (t in e)
35315
- t !== ez && (i = K2 + it.Util._capitalize(t), it.Util._isFunction(this[i]) ? this[i](e[t]) : this._setAttr(t, e[t]));
35328
+ t !== ez && (i = K2 + st.Util._capitalize(t), st.Util._isFunction(this[i]) ? this[i](e[t]) : this._setAttr(t, e[t]));
35316
35329
  }), this;
35317
35330
  }
35318
35331
  isListening() {
@@ -35401,7 +35414,7 @@ let sz = 1, Ke = class N1 {
35401
35414
  i = i.parent;
35402
35415
  }
35403
35416
  t && !e && (e = !0);
35404
- var s = this.getAbsoluteTransform(e).getMatrix(), a = new it.Transform(), n = this.offset();
35417
+ var s = this.getAbsoluteTransform(e).getMatrix(), a = new st.Transform(), n = this.offset();
35405
35418
  return a.m = s.slice(), a.translate(n.x, n.y), a.getTranslation();
35406
35419
  }
35407
35420
  setAbsolutePosition(e) {
@@ -35450,32 +35463,32 @@ let sz = 1, Ke = class N1 {
35450
35463
  }
35451
35464
  moveToTop() {
35452
35465
  if (!this.parent)
35453
- return it.Util.warn("Node has no parent. moveToTop function is ignored."), !1;
35466
+ return st.Util.warn("Node has no parent. moveToTop function is ignored."), !1;
35454
35467
  var e = this.index, t = this.parent.getChildren().length;
35455
35468
  return e < t - 1 ? (this.parent.children.splice(e, 1), this.parent.children.push(this), this.parent._setChildrenIndices(), !0) : !1;
35456
35469
  }
35457
35470
  moveUp() {
35458
35471
  if (!this.parent)
35459
- return it.Util.warn("Node has no parent. moveUp function is ignored."), !1;
35472
+ return st.Util.warn("Node has no parent. moveUp function is ignored."), !1;
35460
35473
  var e = this.index, t = this.parent.getChildren().length;
35461
35474
  return e < t - 1 ? (this.parent.children.splice(e, 1), this.parent.children.splice(e + 1, 0, this), this.parent._setChildrenIndices(), !0) : !1;
35462
35475
  }
35463
35476
  moveDown() {
35464
35477
  if (!this.parent)
35465
- return it.Util.warn("Node has no parent. moveDown function is ignored."), !1;
35478
+ return st.Util.warn("Node has no parent. moveDown function is ignored."), !1;
35466
35479
  var e = this.index;
35467
35480
  return e > 0 ? (this.parent.children.splice(e, 1), this.parent.children.splice(e - 1, 0, this), this.parent._setChildrenIndices(), !0) : !1;
35468
35481
  }
35469
35482
  moveToBottom() {
35470
35483
  if (!this.parent)
35471
- return it.Util.warn("Node has no parent. moveToBottom function is ignored."), !1;
35484
+ return st.Util.warn("Node has no parent. moveToBottom function is ignored."), !1;
35472
35485
  var e = this.index;
35473
35486
  return e > 0 ? (this.parent.children.splice(e, 1), this.parent.children.unshift(this), this.parent._setChildrenIndices(), !0) : !1;
35474
35487
  }
35475
35488
  setZIndex(e) {
35476
35489
  if (!this.parent)
35477
- return it.Util.warn("Node has no parent. zIndex parameter is ignored."), this;
35478
- (e < 0 || e >= this.parent.children.length) && it.Util.warn("Unexpected value " + e + " for zIndex property. zIndex is just index of a node in children of its parent. Expected value is from 0 to " + (this.parent.children.length - 1) + ".");
35490
+ return st.Util.warn("Node has no parent. zIndex parameter is ignored."), this;
35491
+ (e < 0 || e >= this.parent.children.length) && st.Util.warn("Unexpected value " + e + " for zIndex property. zIndex is just index of a node in children of its parent. Expected value is from 0 to " + (this.parent.children.length - 1) + ".");
35479
35492
  var t = this.index;
35480
35493
  return this.parent.children.splice(t, 1), this.parent.children.splice(e, 0, this), this.parent._setChildrenIndices(), this;
35481
35494
  }
@@ -35493,8 +35506,8 @@ let sz = 1, Ke = class N1 {
35493
35506
  var e = {}, t = this.getAttrs(), i, s, a, n, o;
35494
35507
  e.attrs = {};
35495
35508
  for (i in t)
35496
- s = t[i], o = it.Util.isObject(s) && !it.Util._isPlainObject(s) && !it.Util._isArray(s), !o && (a = typeof this[i] == "function" && this[i], delete t[i], n = a ? a.call(this) : null, t[i] = s, n !== s && (e.attrs[i] = s));
35497
- return e.className = this.getClassName(), it.Util._prepareToStringify(e);
35509
+ s = t[i], o = st.Util.isObject(s) && !st.Util._isPlainObject(s) && !st.Util._isArray(s), !o && (a = typeof this[i] == "function" && this[i], delete t[i], n = a ? a.call(this) : null, t[i] = s, n !== s && (e.attrs[i] = s));
35510
+ return e.className = this.getClassName(), st.Util._prepareToStringify(e);
35498
35511
  }
35499
35512
  toJSON() {
35500
35513
  return JSON.stringify(this.toObject());
@@ -35525,7 +35538,7 @@ let sz = 1, Ke = class N1 {
35525
35538
  return e(this);
35526
35539
  var t = e.replace(/ /g, "").split(","), i = t.length, s, a;
35527
35540
  for (s = 0; s < i; s++)
35528
- if (a = t[s], it.Util.isValidSelector(a) || (it.Util.warn('Selector "' + a + '" is invalid. Allowed selectors examples are "#foo", ".bar" or "Group".'), it.Util.warn('If you have a custom shape with such className, please change it to start with upper letter like "Triangle".'), it.Util.warn("Konva is awesome, right?")), a.charAt(0) === "#") {
35541
+ if (a = t[s], st.Util.isValidSelector(a) || (st.Util.warn('Selector "' + a + '" is invalid. Allowed selectors examples are "#foo", ".bar" or "Group".'), st.Util.warn('If you have a custom shape with such className, please change it to start with upper letter like "Triangle".'), st.Util.warn("Konva is awesome, right?")), a.charAt(0) === "#") {
35529
35542
  if (this.id() === a.slice(1))
35530
35543
  return !0;
35531
35544
  } else if (a.charAt(0) === ".") {
@@ -35555,11 +35568,11 @@ let sz = 1, Ke = class N1 {
35555
35568
  _getAbsoluteTransform(e) {
35556
35569
  var t;
35557
35570
  if (e)
35558
- return t = new it.Transform(), this._eachAncestorReverse(function(s) {
35571
+ return t = new st.Transform(), this._eachAncestorReverse(function(s) {
35559
35572
  var a = s.transformsEnabled();
35560
35573
  a === "all" ? t.multiply(s.getTransform()) : a === "position" && t.translate(s.x() - s.offsetX(), s.y() - s.offsetY());
35561
35574
  }, e), t;
35562
- t = this._cache.get(Ii) || new it.Transform(), this.parent ? this.parent.getAbsoluteTransform().copyInto(t) : t.reset();
35575
+ t = this._cache.get(Ii) || new st.Transform(), this.parent ? this.parent.getAbsoluteTransform().copyInto(t) : t.reset();
35563
35576
  var i = this.transformsEnabled();
35564
35577
  if (i === "all")
35565
35578
  t.multiply(this.getTransform());
@@ -35585,13 +35598,13 @@ let sz = 1, Ke = class N1 {
35585
35598
  return this._getCache(rs, this._getTransform);
35586
35599
  }
35587
35600
  _getTransform() {
35588
- var e, t, i = this._cache.get(rs) || new it.Transform();
35601
+ var e, t, i = this._cache.get(rs) || new st.Transform();
35589
35602
  i.reset();
35590
35603
  var s = this.x(), a = this.y(), n = Cs.Konva.getAngle(this.rotation()), o = (e = this.attrs.scaleX) !== null && e !== void 0 ? e : 1, l = (t = this.attrs.scaleY) !== null && t !== void 0 ? t : 1, h = this.attrs.skewX || 0, u = this.attrs.skewY || 0, d = this.attrs.offsetX || 0, c = this.attrs.offsetY || 0;
35591
35604
  return (s !== 0 || a !== 0) && i.translate(s, a), n !== 0 && i.rotate(n), (h !== 0 || u !== 0) && i.skew(h, u), (o !== 1 || l !== 1) && i.scale(o, l), (d !== 0 || c !== 0) && i.translate(-1 * d, -1 * c), i.dirty = !1, i;
35592
35605
  }
35593
35606
  clone(e) {
35594
- var t = it.Util.cloneObject(this.attrs), i, s, a, n, o;
35607
+ var t = st.Util.cloneObject(this.attrs), i, s, a, n, o;
35595
35608
  for (i in e)
35596
35609
  t[i] = e[i];
35597
35610
  var l = new this.constructor(t);
@@ -35621,7 +35634,7 @@ let sz = 1, Ke = class N1 {
35621
35634
  return new Promise((t, i) => {
35622
35635
  try {
35623
35636
  const s = e?.callback;
35624
- s && delete e.callback, it.Util._urlToImage(this.toDataURL(e), function(a) {
35637
+ s && delete e.callback, st.Util._urlToImage(this.toDataURL(e), function(a) {
35625
35638
  t(a), s?.(a);
35626
35639
  });
35627
35640
  } catch (s) {
@@ -35697,8 +35710,8 @@ let sz = 1, Ke = class N1 {
35697
35710
  return i !== -1 && (t.splice(i, 1), this.name(t.join(" "))), this;
35698
35711
  }
35699
35712
  setAttr(e, t) {
35700
- var i = this[K2 + it.Util._capitalize(e)];
35701
- return it.Util._isFunction(i) ? i.call(this, t) : this._setAttr(e, t), this;
35713
+ var i = this[K2 + st.Util._capitalize(e)];
35714
+ return st.Util._isFunction(i) ? i.call(this, t) : this._setAttr(e, t), this;
35702
35715
  }
35703
35716
  _requestDraw() {
35704
35717
  if (Cs.Konva.autoDrawEnabled) {
@@ -35708,7 +35721,7 @@ let sz = 1, Ke = class N1 {
35708
35721
  }
35709
35722
  _setAttr(e, t) {
35710
35723
  var i = this.attrs[e];
35711
- i === t && !it.Util.isObject(t) || (t == null ? delete this.attrs[e] : this.attrs[e] = t, this._shouldFireChangeEvents && this._fireChangeEvent(e, i, t), this._requestDraw());
35724
+ i === t && !st.Util.isObject(t) || (t == null ? delete this.attrs[e] : this.attrs[e] = t, this._shouldFireChangeEvents && this._fireChangeEvent(e, i, t), this._requestDraw());
35712
35725
  }
35713
35726
  _setComponentAttr(e, t, i) {
35714
35727
  var s;
@@ -35786,7 +35799,7 @@ let sz = 1, Ke = class N1 {
35786
35799
  }, a = this.dragBoundFunc();
35787
35800
  if (a !== void 0) {
35788
35801
  const n = a.call(this, s, e);
35789
- n ? s = n : it.Util.warn("dragBoundFunc did not return any value. That is unexpected behavior. You must return new absolute position from dragBoundFunc.");
35802
+ n ? s = n : st.Util.warn("dragBoundFunc did not return any value. That is unexpected behavior. You must return new absolute position from dragBoundFunc.");
35790
35803
  }
35791
35804
  (!this._lastPos || this._lastPos.x !== s.x || this._lastPos.y !== s.y) && (this.setAbsolutePosition(s), this._requestDraw()), this._lastPos = s;
35792
35805
  }
@@ -35838,14 +35851,14 @@ let sz = 1, Ke = class N1 {
35838
35851
  width: t.width() + 2 * e.x,
35839
35852
  height: t.height() + 2 * e.y
35840
35853
  };
35841
- return it.Util.haveIntersection(i, this.getClientRect());
35854
+ return st.Util.haveIntersection(i, this.getClientRect());
35842
35855
  }
35843
35856
  static create(e, t) {
35844
- return it.Util._isString(e) && (e = JSON.parse(e)), this._createNode(e, t);
35857
+ return st.Util._isString(e) && (e = JSON.parse(e)), this._createNode(e, t);
35845
35858
  }
35846
35859
  static _createNode(e, t) {
35847
35860
  var i = N1.prototype.getClassName.call(e), s = e.children, a, n, o;
35848
- t && (e.attrs.container = t), Cs.Konva[i] || (it.Util.warn('Can not find a node with class name "' + i + '". Fallback to "Shape".'), i = "Shape");
35861
+ t && (e.attrs.container = t), Cs.Konva[i] || (st.Util.warn('Can not find a node with class name "' + i + '". Fallback to "Shape".'), i = "Shape");
35849
35862
  const l = Cs.Konva[i];
35850
35863
  if (a = new l(e.attrs), s)
35851
35864
  for (n = s.length, o = 0; o < n; o++)
@@ -35873,39 +35886,39 @@ Ke.prototype.on.call(Ke.prototype, "listeningChange.konva", function() {
35873
35886
  Ke.prototype.on.call(Ke.prototype, "opacityChange.konva", function() {
35874
35887
  this._clearSelfAndDescendantCache(hl);
35875
35888
  });
35876
- const _t = zo.Factory.addGetterSetter;
35877
- _t(Ke, "zIndex");
35878
- _t(Ke, "absolutePosition");
35879
- _t(Ke, "position");
35880
- _t(Ke, "x", 0, (0, jt.getNumberValidator)());
35881
- _t(Ke, "y", 0, (0, jt.getNumberValidator)());
35882
- _t(Ke, "globalCompositeOperation", "source-over", (0, jt.getStringValidator)());
35883
- _t(Ke, "opacity", 1, (0, jt.getNumberValidator)());
35884
- _t(Ke, "name", "", (0, jt.getStringValidator)());
35885
- _t(Ke, "id", "", (0, jt.getStringValidator)());
35886
- _t(Ke, "rotation", 0, (0, jt.getNumberValidator)());
35889
+ const Tt = zo.Factory.addGetterSetter;
35890
+ Tt(Ke, "zIndex");
35891
+ Tt(Ke, "absolutePosition");
35892
+ Tt(Ke, "position");
35893
+ Tt(Ke, "x", 0, (0, jt.getNumberValidator)());
35894
+ Tt(Ke, "y", 0, (0, jt.getNumberValidator)());
35895
+ Tt(Ke, "globalCompositeOperation", "source-over", (0, jt.getStringValidator)());
35896
+ Tt(Ke, "opacity", 1, (0, jt.getNumberValidator)());
35897
+ Tt(Ke, "name", "", (0, jt.getStringValidator)());
35898
+ Tt(Ke, "id", "", (0, jt.getStringValidator)());
35899
+ Tt(Ke, "rotation", 0, (0, jt.getNumberValidator)());
35887
35900
  zo.Factory.addComponentsGetterSetter(Ke, "scale", ["x", "y"]);
35888
- _t(Ke, "scaleX", 1, (0, jt.getNumberValidator)());
35889
- _t(Ke, "scaleY", 1, (0, jt.getNumberValidator)());
35901
+ Tt(Ke, "scaleX", 1, (0, jt.getNumberValidator)());
35902
+ Tt(Ke, "scaleY", 1, (0, jt.getNumberValidator)());
35890
35903
  zo.Factory.addComponentsGetterSetter(Ke, "skew", ["x", "y"]);
35891
- _t(Ke, "skewX", 0, (0, jt.getNumberValidator)());
35892
- _t(Ke, "skewY", 0, (0, jt.getNumberValidator)());
35904
+ Tt(Ke, "skewX", 0, (0, jt.getNumberValidator)());
35905
+ Tt(Ke, "skewY", 0, (0, jt.getNumberValidator)());
35893
35906
  zo.Factory.addComponentsGetterSetter(Ke, "offset", ["x", "y"]);
35894
- _t(Ke, "offsetX", 0, (0, jt.getNumberValidator)());
35895
- _t(Ke, "offsetY", 0, (0, jt.getNumberValidator)());
35896
- _t(Ke, "dragDistance", null, (0, jt.getNumberValidator)());
35897
- _t(Ke, "width", 0, (0, jt.getNumberValidator)());
35898
- _t(Ke, "height", 0, (0, jt.getNumberValidator)());
35899
- _t(Ke, "listening", !0, (0, jt.getBooleanValidator)());
35900
- _t(Ke, "preventDefault", !0, (0, jt.getBooleanValidator)());
35901
- _t(Ke, "filters", null, function(r) {
35907
+ Tt(Ke, "offsetX", 0, (0, jt.getNumberValidator)());
35908
+ Tt(Ke, "offsetY", 0, (0, jt.getNumberValidator)());
35909
+ Tt(Ke, "dragDistance", null, (0, jt.getNumberValidator)());
35910
+ Tt(Ke, "width", 0, (0, jt.getNumberValidator)());
35911
+ Tt(Ke, "height", 0, (0, jt.getNumberValidator)());
35912
+ Tt(Ke, "listening", !0, (0, jt.getBooleanValidator)());
35913
+ Tt(Ke, "preventDefault", !0, (0, jt.getBooleanValidator)());
35914
+ Tt(Ke, "filters", null, function(r) {
35902
35915
  return this._filterUpToDate = !1, r;
35903
35916
  });
35904
- _t(Ke, "visible", !0, (0, jt.getBooleanValidator)());
35905
- _t(Ke, "transformsEnabled", "all", (0, jt.getStringValidator)());
35906
- _t(Ke, "size");
35907
- _t(Ke, "dragBoundFunc");
35908
- _t(Ke, "draggable", !1, (0, jt.getBooleanValidator)());
35917
+ Tt(Ke, "visible", !0, (0, jt.getBooleanValidator)());
35918
+ Tt(Ke, "transformsEnabled", "all", (0, jt.getStringValidator)());
35919
+ Tt(Ke, "size");
35920
+ Tt(Ke, "dragBoundFunc");
35921
+ Tt(Ke, "draggable", !1, (0, jt.getBooleanValidator)());
35909
35922
  zo.Factory.backCompat(Ke, {
35910
35923
  rotateDeg: "rotate",
35911
35924
  setRotationDeg: "setRotation",
@@ -39707,7 +39720,7 @@ const mk = /* @__PURE__ */ Ne({
39707
39720
  var Hn = {};
39708
39721
  Object.defineProperty(Hn, "__esModule", { value: !0 });
39709
39722
  var Rg = Hn.Transformer = void 0;
39710
- const bt = Nt, gt = xe, ld = Bt, yk = rr, _k = lg, hd = wu, ai = et, gs = tt, Tk = et;
39723
+ const yt = Nt, vt = xe, ld = Bt, yk = rr, _k = lg, hd = wu, ai = et, gs = tt, Tk = et;
39711
39724
  var Og = "tr-konva", Ck = [
39712
39725
  "resizeEnabledChange",
39713
39726
  "rotateAnchorOffsetChange",
@@ -39750,9 +39763,9 @@ const zk = "ontouchstart" in ai.Konva._global;
39750
39763
  function Pk(r, e, t) {
39751
39764
  if (r === "rotater")
39752
39765
  return t;
39753
- e += bt.Util.degToRad(Sk[r] || 0);
39754
- var i = (bt.Util.radToDeg(e) % 360 + 360) % 360;
39755
- return bt.Util._inRange(i, 315 + 22.5, 360) || bt.Util._inRange(i, 0, 22.5) ? "ns-resize" : bt.Util._inRange(i, 45 - 22.5, 45 + 22.5) ? "nesw-resize" : bt.Util._inRange(i, 90 - 22.5, 90 + 22.5) ? "ew-resize" : bt.Util._inRange(i, 135 - 22.5, 135 + 22.5) ? "nwse-resize" : bt.Util._inRange(i, 180 - 22.5, 180 + 22.5) ? "ns-resize" : bt.Util._inRange(i, 225 - 22.5, 225 + 22.5) ? "nesw-resize" : bt.Util._inRange(i, 270 - 22.5, 270 + 22.5) ? "ew-resize" : bt.Util._inRange(i, 315 - 22.5, 315 + 22.5) ? "nwse-resize" : (bt.Util.error("Transformer has unknown angle for cursor detection: " + i), "pointer");
39766
+ e += yt.Util.degToRad(Sk[r] || 0);
39767
+ var i = (yt.Util.radToDeg(e) % 360 + 360) % 360;
39768
+ return yt.Util._inRange(i, 315 + 22.5, 360) || yt.Util._inRange(i, 0, 22.5) ? "ns-resize" : yt.Util._inRange(i, 45 - 22.5, 45 + 22.5) ? "nesw-resize" : yt.Util._inRange(i, 90 - 22.5, 90 + 22.5) ? "ew-resize" : yt.Util._inRange(i, 135 - 22.5, 135 + 22.5) ? "nwse-resize" : yt.Util._inRange(i, 180 - 22.5, 180 + 22.5) ? "ns-resize" : yt.Util._inRange(i, 225 - 22.5, 225 + 22.5) ? "nesw-resize" : yt.Util._inRange(i, 270 - 22.5, 270 + 22.5) ? "ew-resize" : yt.Util._inRange(i, 315 - 22.5, 315 + 22.5) ? "nwse-resize" : (yt.Util.error("Transformer has unknown angle for cursor detection: " + i), "pointer");
39756
39769
  }
39757
39770
  var kl = [
39758
39771
  "top-left",
@@ -39791,7 +39804,7 @@ function Ak(r, e, t) {
39791
39804
  }
39792
39805
  return i;
39793
39806
  }
39794
- class ht extends hd.Group {
39807
+ class ut extends hd.Group {
39795
39808
  constructor(e) {
39796
39809
  super(e), this._movingAnchorName = null, this._transforming = !1, this._createElements(), this._handleMouseMove = this._handleMouseMove.bind(this), this._handleMouseUp = this._handleMouseUp.bind(this), this.update = this.update.bind(this), this.on(Ck, this.update), this.getNode() && this.update();
39797
39810
  }
@@ -39799,7 +39812,7 @@ class ht extends hd.Group {
39799
39812
  return this.setNode(e), this;
39800
39813
  }
39801
39814
  setNode(e) {
39802
- return bt.Util.warn("tr.setNode(shape), tr.node(shape) and tr.attachTo(shape) methods are deprecated. Please use tr.nodes(nodesArray) instead."), this.setNodes([e]);
39815
+ return yt.Util.warn("tr.setNode(shape), tr.node(shape) and tr.attachTo(shape) methods are deprecated. Please use tr.nodes(nodesArray) instead."), this.setNodes([e]);
39803
39816
  }
39804
39817
  getNode() {
39805
39818
  return this._nodes && this._nodes[0];
@@ -39809,7 +39822,7 @@ class ht extends hd.Group {
39809
39822
  }
39810
39823
  setNodes(e = []) {
39811
39824
  this._nodes && this._nodes.length && this.detach();
39812
- const t = e.filter((s) => s.isAncestorOf(this) ? (bt.Util.error("Konva.Transformer cannot be an a child of the node you are trying to attach"), !1) : !0);
39825
+ const t = e.filter((s) => s.isAncestorOf(this) ? (yt.Util.error("Konva.Transformer cannot be an a child of the node you are trying to attach"), !1) : !0);
39813
39826
  this._nodes = e = t, e.length === 1 && this.useSingleNodeRotation() ? this.rotation(e[0].getAbsoluteRotation()) : this.rotation(0), this._nodes.forEach((s) => {
39814
39827
  const a = () => {
39815
39828
  this.nodes().length === 1 && this.useSingleNodeRotation() && this.rotation(this.nodes()[0].getAbsoluteRotation()), this._resetTransformCache(), !this._transforming && !this.isDragging() && this.update();
@@ -39901,7 +39914,7 @@ class ht extends hd.Group {
39901
39914
  t.push(p);
39902
39915
  });
39903
39916
  });
39904
- const i = new bt.Transform();
39917
+ const i = new yt.Transform();
39905
39918
  i.rotate(-ai.Konva.getAngle(this.rotation()));
39906
39919
  var s = 1 / 0, a = 1 / 0, n = -1 / 0, o = -1 / 0;
39907
39920
  t.forEach(function(h) {
@@ -39965,7 +39978,7 @@ class ht extends hd.Group {
39965
39978
  draggable: !0,
39966
39979
  sceneFunc(t, i) {
39967
39980
  var s = i.getParent(), a = s.padding();
39968
- t.beginPath(), t.rect(-a, -a, i.width() + a * 2, i.height() + a * 2), t.moveTo(i.width() / 2, -a), s.rotateEnabled() && t.lineTo(i.width() / 2, -s.rotateAnchorOffset() * bt.Util._sign(i.height()) - a), t.fillStrokeShape(i);
39981
+ t.beginPath(), t.rect(-a, -a, i.width() + a * 2, i.height() + a * 2), t.moveTo(i.width() / 2, -a), s.rotateEnabled() && t.lineTo(i.width() / 2, -s.rotateAnchorOffset() * yt.Util._sign(i.height()) - a), t.fillStrokeShape(i);
39969
39982
  },
39970
39983
  hitFunc: (t, i) => {
39971
39984
  if (this.shouldOverdrawWholeArea()) {
@@ -40127,16 +40140,16 @@ class ht extends hd.Group {
40127
40140
  _fitNodesInto(e, t) {
40128
40141
  var i = this._getNodeRect();
40129
40142
  const s = 1;
40130
- if (bt.Util._inRange(e.width, -this.padding() * 2 - s, s)) {
40143
+ if (yt.Util._inRange(e.width, -this.padding() * 2 - s, s)) {
40131
40144
  this.update();
40132
40145
  return;
40133
40146
  }
40134
- if (bt.Util._inRange(e.height, -this.padding() * 2 - s, s)) {
40147
+ if (yt.Util._inRange(e.height, -this.padding() * 2 - s, s)) {
40135
40148
  this.update();
40136
40149
  return;
40137
40150
  }
40138
40151
  const a = this.flipEnabled();
40139
- var n = new bt.Transform();
40152
+ var n = new yt.Transform();
40140
40153
  if (n.rotate(ai.Konva.getAngle(this.rotation())), this._movingAnchorName && e.width < 0 && this._movingAnchorName.indexOf("left") >= 0) {
40141
40154
  const d = n.point({
40142
40155
  x: -this.padding() * 2,
@@ -40177,22 +40190,22 @@ class ht extends hd.Group {
40177
40190
  }
40178
40191
  if (this.boundBoxFunc()) {
40179
40192
  const d = this.boundBoxFunc()(i, e);
40180
- d ? e = d : bt.Util.warn("boundBoxFunc returned falsy. You should return new bound rect from it!");
40193
+ d ? e = d : yt.Util.warn("boundBoxFunc returned falsy. You should return new bound rect from it!");
40181
40194
  }
40182
- const o = 1e7, l = new bt.Transform();
40195
+ const o = 1e7, l = new yt.Transform();
40183
40196
  l.translate(i.x, i.y), l.rotate(i.rotation), l.scale(i.width / o, i.height / o);
40184
- const h = new bt.Transform();
40197
+ const h = new yt.Transform();
40185
40198
  h.translate(e.x, e.y), h.rotate(e.rotation), h.scale(e.width / o, e.height / o);
40186
40199
  const u = h.multiply(l.invert());
40187
40200
  this._nodes.forEach((d) => {
40188
40201
  var c;
40189
40202
  const f = d.getParent().getAbsoluteTransform(), p = d.getTransform().copy();
40190
40203
  p.translate(d.offsetX(), d.offsetY());
40191
- const g = new bt.Transform();
40204
+ const g = new yt.Transform();
40192
40205
  g.multiply(f.copy().invert()).multiply(u).multiply(f).multiply(p);
40193
40206
  const y = g.decompose();
40194
40207
  d.setAttrs(y), this._fire("transform", { evt: t, target: d }), d._fire("transform", { evt: t, target: d }), (c = d.getLayer()) === null || c === void 0 || c.batchDraw();
40195
- }), this.rotation(bt.Util._getRotation(e.rotation)), this._resetTransformCache(), this.update(), this.getLayer().batchDraw();
40208
+ }), this.rotation(yt.Util._getRotation(e.rotation)), this._resetTransformCache(), this.update(), this.getLayer().batchDraw();
40196
40209
  }
40197
40210
  forceUpdate() {
40198
40211
  this._resetTransformCache(), this.update();
@@ -40202,7 +40215,7 @@ class ht extends hd.Group {
40202
40215
  }
40203
40216
  update() {
40204
40217
  var e, t = this._getNodeRect();
40205
- this.rotation(bt.Util._getRotation(t.rotation));
40218
+ this.rotation(yt.Util._getRotation(t.rotation));
40206
40219
  var i = t.width, s = t.height, a = this.enabledAnchors(), n = this.resizeEnabled(), o = this.padding(), l = this.anchorSize();
40207
40220
  const h = this.find("._anchor");
40208
40221
  h.forEach((d) => {
@@ -40262,7 +40275,7 @@ class ht extends hd.Group {
40262
40275
  visible: n && a.indexOf("bottom-right") >= 0
40263
40276
  }), this._batchChangeChild(".rotater", {
40264
40277
  x: i / 2,
40265
- y: -this.rotateAnchorOffset() * bt.Util._sign(s) - o,
40278
+ y: -this.rotateAnchorOffset() * yt.Util._sign(s) - o,
40266
40279
  visible: this.rotateEnabled()
40267
40280
  }), this._batchChangeChild(".back", {
40268
40281
  width: i,
@@ -40303,44 +40316,44 @@ class ht extends hd.Group {
40303
40316
  return this.nodes().length > 0 ? super.getClientRect() : { x: 0, y: 0, width: 0, height: 0 };
40304
40317
  }
40305
40318
  }
40306
- Rg = Hn.Transformer = ht;
40319
+ Rg = Hn.Transformer = ut;
40307
40320
  function Mk(r) {
40308
- return r instanceof Array || bt.Util.warn("enabledAnchors value should be an array"), r instanceof Array && r.forEach(function(e) {
40309
- kl.indexOf(e) === -1 && bt.Util.warn("Unknown anchor name: " + e + ". Available names are: " + kl.join(", "));
40321
+ return r instanceof Array || yt.Util.warn("enabledAnchors value should be an array"), r instanceof Array && r.forEach(function(e) {
40322
+ kl.indexOf(e) === -1 && yt.Util.warn("Unknown anchor name: " + e + ". Available names are: " + kl.join(", "));
40310
40323
  }), r || [];
40311
40324
  }
40312
- ht.prototype.className = "Transformer";
40313
- (0, Tk._registerNode)(ht);
40314
- gt.Factory.addGetterSetter(ht, "enabledAnchors", kl, Mk);
40315
- gt.Factory.addGetterSetter(ht, "flipEnabled", !0, (0, gs.getBooleanValidator)());
40316
- gt.Factory.addGetterSetter(ht, "resizeEnabled", !0);
40317
- gt.Factory.addGetterSetter(ht, "anchorSize", 10, (0, gs.getNumberValidator)());
40318
- gt.Factory.addGetterSetter(ht, "rotateEnabled", !0);
40319
- gt.Factory.addGetterSetter(ht, "rotationSnaps", []);
40320
- gt.Factory.addGetterSetter(ht, "rotateAnchorOffset", 50, (0, gs.getNumberValidator)());
40321
- gt.Factory.addGetterSetter(ht, "rotateAnchorCursor", "crosshair");
40322
- gt.Factory.addGetterSetter(ht, "rotationSnapTolerance", 5, (0, gs.getNumberValidator)());
40323
- gt.Factory.addGetterSetter(ht, "borderEnabled", !0);
40324
- gt.Factory.addGetterSetter(ht, "anchorStroke", "rgb(0, 161, 255)");
40325
- gt.Factory.addGetterSetter(ht, "anchorStrokeWidth", 1, (0, gs.getNumberValidator)());
40326
- gt.Factory.addGetterSetter(ht, "anchorFill", "white");
40327
- gt.Factory.addGetterSetter(ht, "anchorCornerRadius", 0, (0, gs.getNumberValidator)());
40328
- gt.Factory.addGetterSetter(ht, "borderStroke", "rgb(0, 161, 255)");
40329
- gt.Factory.addGetterSetter(ht, "borderStrokeWidth", 1, (0, gs.getNumberValidator)());
40330
- gt.Factory.addGetterSetter(ht, "borderDash");
40331
- gt.Factory.addGetterSetter(ht, "keepRatio", !0);
40332
- gt.Factory.addGetterSetter(ht, "shiftBehavior", "default");
40333
- gt.Factory.addGetterSetter(ht, "centeredScaling", !1);
40334
- gt.Factory.addGetterSetter(ht, "ignoreStroke", !1);
40335
- gt.Factory.addGetterSetter(ht, "padding", 0, (0, gs.getNumberValidator)());
40336
- gt.Factory.addGetterSetter(ht, "node");
40337
- gt.Factory.addGetterSetter(ht, "nodes");
40338
- gt.Factory.addGetterSetter(ht, "boundBoxFunc");
40339
- gt.Factory.addGetterSetter(ht, "anchorDragBoundFunc");
40340
- gt.Factory.addGetterSetter(ht, "anchorStyleFunc");
40341
- gt.Factory.addGetterSetter(ht, "shouldOverdrawWholeArea", !1);
40342
- gt.Factory.addGetterSetter(ht, "useSingleNodeRotation", !0);
40343
- gt.Factory.backCompat(ht, {
40325
+ ut.prototype.className = "Transformer";
40326
+ (0, Tk._registerNode)(ut);
40327
+ vt.Factory.addGetterSetter(ut, "enabledAnchors", kl, Mk);
40328
+ vt.Factory.addGetterSetter(ut, "flipEnabled", !0, (0, gs.getBooleanValidator)());
40329
+ vt.Factory.addGetterSetter(ut, "resizeEnabled", !0);
40330
+ vt.Factory.addGetterSetter(ut, "anchorSize", 10, (0, gs.getNumberValidator)());
40331
+ vt.Factory.addGetterSetter(ut, "rotateEnabled", !0);
40332
+ vt.Factory.addGetterSetter(ut, "rotationSnaps", []);
40333
+ vt.Factory.addGetterSetter(ut, "rotateAnchorOffset", 50, (0, gs.getNumberValidator)());
40334
+ vt.Factory.addGetterSetter(ut, "rotateAnchorCursor", "crosshair");
40335
+ vt.Factory.addGetterSetter(ut, "rotationSnapTolerance", 5, (0, gs.getNumberValidator)());
40336
+ vt.Factory.addGetterSetter(ut, "borderEnabled", !0);
40337
+ vt.Factory.addGetterSetter(ut, "anchorStroke", "rgb(0, 161, 255)");
40338
+ vt.Factory.addGetterSetter(ut, "anchorStrokeWidth", 1, (0, gs.getNumberValidator)());
40339
+ vt.Factory.addGetterSetter(ut, "anchorFill", "white");
40340
+ vt.Factory.addGetterSetter(ut, "anchorCornerRadius", 0, (0, gs.getNumberValidator)());
40341
+ vt.Factory.addGetterSetter(ut, "borderStroke", "rgb(0, 161, 255)");
40342
+ vt.Factory.addGetterSetter(ut, "borderStrokeWidth", 1, (0, gs.getNumberValidator)());
40343
+ vt.Factory.addGetterSetter(ut, "borderDash");
40344
+ vt.Factory.addGetterSetter(ut, "keepRatio", !0);
40345
+ vt.Factory.addGetterSetter(ut, "shiftBehavior", "default");
40346
+ vt.Factory.addGetterSetter(ut, "centeredScaling", !1);
40347
+ vt.Factory.addGetterSetter(ut, "ignoreStroke", !1);
40348
+ vt.Factory.addGetterSetter(ut, "padding", 0, (0, gs.getNumberValidator)());
40349
+ vt.Factory.addGetterSetter(ut, "node");
40350
+ vt.Factory.addGetterSetter(ut, "nodes");
40351
+ vt.Factory.addGetterSetter(ut, "boundBoxFunc");
40352
+ vt.Factory.addGetterSetter(ut, "anchorDragBoundFunc");
40353
+ vt.Factory.addGetterSetter(ut, "anchorStyleFunc");
40354
+ vt.Factory.addGetterSetter(ut, "shouldOverdrawWholeArea", !1);
40355
+ vt.Factory.addGetterSetter(ut, "useSingleNodeRotation", !0);
40356
+ vt.Factory.backCompat(ut, {
40344
40357
  lineEnabled: "borderEnabled",
40345
40358
  rotateHandlerOffset: "rotateAnchorOffset",
40346
40359
  enabledHandlers: "enabledAnchors"
@@ -41704,7 +41717,7 @@ class wM extends a6 {
41704
41717
  return;
41705
41718
  const t = this.app.stage.scaleX();
41706
41719
  this.app.emit("canvasZoomStart", t);
41707
- const i = this.app.stage.getPointerPosition() ?? new Tt({ x: 0, y: 0 }), s = new Tt({
41720
+ const i = this.app.stage.getPointerPosition() ?? new Ct({ x: 0, y: 0 }), s = new Ct({
41708
41721
  x: (i.x - this.app.stage.x()) / t,
41709
41722
  y: (i.y - this.app.stage.y()) / t
41710
41723
  }), a = (e.evt.shiftKey && !e.evt.ctrlKey ? e.evt.deltaX : e.evt.deltaY) > 0 ? 1 : -1;
@@ -41830,25 +41843,25 @@ class aI {
41830
41843
  );
41831
41844
  return i && i.alignment?.dispersionY(t), this;
41832
41845
  }, this.keyFns.push(
41833
- Et.on({ key: "a", title: "左对齐", shift: !0 }, () => {
41846
+ At.on({ key: "a", title: "左对齐", shift: !0 }, () => {
41834
41847
  })
41835
41848
  ), this.keyFns.push(
41836
- Et.on({ key: "h", title: "水平居中", shift: !0 }, () => {
41849
+ At.on({ key: "h", title: "水平居中", shift: !0 }, () => {
41837
41850
  })
41838
41851
  ), this.keyFns.push(
41839
- Et.on({ key: "d", title: "右对齐", shift: !0 }, () => {
41852
+ At.on({ key: "d", title: "右对齐", shift: !0 }, () => {
41840
41853
  })
41841
41854
  ), this.keyFns.push(
41842
- Et.on({ key: "w", title: "顶对齐", shift: !0 }, () => {
41855
+ At.on({ key: "w", title: "顶对齐", shift: !0 }, () => {
41843
41856
  })
41844
41857
  ), this.keyFns.push(
41845
- Et.on({ key: "v", title: "垂直居中", shift: !0 }, () => {
41858
+ At.on({ key: "v", title: "垂直居中", shift: !0 }, () => {
41846
41859
  })
41847
41860
  ), this.keyFns.push(
41848
- Et.on({ key: "s", title: "底对齐", shift: !0 }, () => {
41861
+ At.on({ key: "s", title: "底对齐", shift: !0 }, () => {
41849
41862
  })
41850
41863
  ), this.keyFns.push(
41851
- Et.on(
41864
+ At.on(
41852
41865
  {
41853
41866
  key: "h",
41854
41867
  title: "水平分布",
@@ -41859,7 +41872,7 @@ class aI {
41859
41872
  }
41860
41873
  )
41861
41874
  ), this.keyFns.push(
41862
- Et.on(
41875
+ At.on(
41863
41876
  {
41864
41877
  key: "v",
41865
41878
  title: "垂直分布",
@@ -42040,7 +42053,7 @@ class kM {
42040
42053
  rubberConfig;
42041
42054
  transformer;
42042
42055
  rubberRect;
42043
- rubberStartPoint = new Tt({ x: 0, y: 0 });
42056
+ rubberStartPoint = new Ct({ x: 0, y: 0 });
42044
42057
  rubberEnable = !1;
42045
42058
  hightLightRects;
42046
42059
  constructor(e, t) {
@@ -42153,7 +42166,7 @@ class kM {
42153
42166
  ], g = c.getAbsoluteTransform();
42154
42167
  p.forEach(function(y) {
42155
42168
  const _ = g.point(y);
42156
- s.push(new Tt({ x: _.x, y: _.y }));
42169
+ s.push(new Ct({ x: _.x, y: _.y }));
42157
42170
  });
42158
42171
  });
42159
42172
  const n = new Me.Transform();
@@ -42189,7 +42202,7 @@ class kM {
42189
42202
  onMouseMove = () => {
42190
42203
  if (!this.enabled || !this.rubberEnable)
42191
42204
  return;
42192
- const e = new Tt({
42205
+ const e = new Ct({
42193
42206
  x: Math.min(this.app.pointer.x, this.rubberStartPoint.x),
42194
42207
  y: Math.min(this.app.pointer.y, this.rubberStartPoint.y)
42195
42208
  });
@@ -42285,7 +42298,7 @@ class nI {
42285
42298
  );
42286
42299
  return i ? i.selector?.isSelected(t) ?? !1 : !1;
42287
42300
  }, this.keyFns.push(
42288
- Et.on(
42301
+ At.on(
42289
42302
  { key: "a", title: "全部选中", exact: !0, ctrl: !0 },
42290
42303
  () => {
42291
42304
  const t = this.app?.isPluginEnable("selectorPlugin");
@@ -42293,7 +42306,7 @@ class nI {
42293
42306
  }
42294
42307
  )
42295
42308
  ), this.keyFns.push(
42296
- Et.on(
42309
+ At.on(
42297
42310
  {
42298
42311
  key: "g",
42299
42312
  title: "组合",
@@ -42505,11 +42518,11 @@ class oI {
42505
42518
  );
42506
42519
  return i && i.history?.jump(t), this;
42507
42520
  }, this.keyFns.push(
42508
- Et.on({ key: "z", title: "撤销", exact: !0, ctrl: !0 }, () => {
42521
+ At.on({ key: "z", title: "撤销", exact: !0, ctrl: !0 }, () => {
42509
42522
  this.app?.undo();
42510
42523
  })
42511
42524
  ), this.keyFns.push(
42512
- Et.on({ key: "y", title: "重做", exact: !0, ctrl: !0 }, () => {
42525
+ At.on({ key: "y", title: "重做", exact: !0, ctrl: !0 }, () => {
42513
42526
  this.app?.redo();
42514
42527
  })
42515
42528
  ), this.app.emit("historyInstalled", this);
@@ -42558,7 +42571,7 @@ class lI {
42558
42571
  hooks;
42559
42572
  config;
42560
42573
  diamond = null;
42561
- startPointer = new Tt({ x: 0, y: 0 });
42574
+ startPointer = new Ct({ x: 0, y: 0 });
42562
42575
  constructor({
42563
42576
  config: e,
42564
42577
  hooks: t
@@ -42576,7 +42589,7 @@ class lI {
42576
42589
  mousemove({ app: e }) {
42577
42590
  if (!this.diamond)
42578
42591
  return;
42579
- const t = e.pointer.x - this.startPointer.x, i = e.pointer.y - this.startPointer.y, s = new Tt({
42592
+ const t = e.pointer.x - this.startPointer.x, i = e.pointer.y - this.startPointer.y, s = new Ct({
42580
42593
  x: this.startPointer.x + t / 2,
42581
42594
  y: this.startPointer.y + i / 2
42582
42595
  });
@@ -42637,7 +42650,7 @@ class uI {
42637
42650
  config;
42638
42651
  hooks;
42639
42652
  ellipse = null;
42640
- startPointer = new Tt({ x: 0, y: 0 });
42653
+ startPointer = new Ct({ x: 0, y: 0 });
42641
42654
  constructor({
42642
42655
  config: e,
42643
42656
  hooks: t
@@ -42650,14 +42663,14 @@ class uI {
42650
42663
  radiusY: 0,
42651
42664
  strokeScaleEnabled: !1,
42652
42665
  ...this.config
42653
- }), this.ellipse.setPosition(this.startPointer), this.ellipse.radius(new Tt({ x: 0, y: 0 })), e.add(this.ellipse));
42666
+ }), this.ellipse.setPosition(this.startPointer), this.ellipse.radius(new Ct({ x: 0, y: 0 })), e.add(this.ellipse));
42654
42667
  }
42655
42668
  mousemove({ app: e }) {
42656
42669
  if (!this.ellipse)
42657
42670
  return;
42658
- const t = e.pointer.x - this.startPointer.x, i = e.pointer.y - this.startPointer.y, s = new Tt({ x: Math.abs(t) / 2, y: Math.abs(i) / 2 });
42671
+ const t = e.pointer.x - this.startPointer.x, i = e.pointer.y - this.startPointer.y, s = new Ct({ x: Math.abs(t) / 2, y: Math.abs(i) / 2 });
42659
42672
  this.ellipse.setPosition(
42660
- new Tt({
42673
+ new Ct({
42661
42674
  x: this.startPointer.x + t / 2,
42662
42675
  y: this.startPointer.y + i / 2
42663
42676
  })
@@ -42698,7 +42711,7 @@ class fI {
42698
42711
  return;
42699
42712
  const i = 200, s = i * ((this.imageElement.height ?? 1) / (this.imageElement.width ?? 1));
42700
42713
  this.image.width(i), this.image.height(s), this.image.position(
42701
- new Tt({ x: t.x - i / 2, y: t.y - s / 2 })
42714
+ new Ct({ x: t.x - i / 2, y: t.y - s / 2 })
42702
42715
  ), e.render();
42703
42716
  }
42704
42717
  enableChanged() {
@@ -42739,7 +42752,7 @@ class cI {
42739
42752
  name = "rectTool";
42740
42753
  config;
42741
42754
  hooks;
42742
- startPointer = new Tt({ x: 0, y: 0 });
42755
+ startPointer = new Ct({ x: 0, y: 0 });
42743
42756
  rectangle = null;
42744
42757
  constructor({ config: e, hooks: t }) {
42745
42758
  this.config = e, this.hooks = t;
@@ -42752,7 +42765,7 @@ class cI {
42752
42765
  }
42753
42766
  mousemove({ app: e }) {
42754
42767
  this.rectangle && (this.rectangle.setPosition(
42755
- new Tt({
42768
+ new Ct({
42756
42769
  x: Math.min(this.startPointer.x, e.pointer.x),
42757
42770
  y: Math.min(this.startPointer.y, e.pointer.y)
42758
42771
  })
@@ -42901,11 +42914,11 @@ class mI extends fc {
42901
42914
  }), this.triggerPanning(this.config.panning.enabled), this.triggerMouseWheel(this.config.mousewheel.enabled), this.registerKeyFns();
42902
42915
  }
42903
42916
  registerKeyFns() {
42904
- Et.on({ key: "o", title: "打开", exact: !0, ctrl: !0 }, () => {
42917
+ At.on({ key: "o", title: "打开", exact: !0, ctrl: !0 }, () => {
42905
42918
  X7().then((e) => K4(e[0])).then((e) => {
42906
42919
  this.fromJSON(e);
42907
42920
  });
42908
- }), Et.on(
42921
+ }), At.on(
42909
42922
  {
42910
42923
  key: "e",
42911
42924
  title: "导出图片",
@@ -42915,9 +42928,9 @@ class mI extends fc {
42915
42928
  },
42916
42929
  () => {
42917
42930
  }
42918
- ), Et.on({ key: "[", title: "下移一层", exact: !0, ctrl: !0 }, () => {
42919
- }), Et.on({ key: "]", title: "上移一层", exact: !0, ctrl: !0 }, () => {
42920
- }), Et.on(
42931
+ ), At.on({ key: "[", title: "下移一层", exact: !0, ctrl: !0 }, () => {
42932
+ }), At.on({ key: "]", title: "上移一层", exact: !0, ctrl: !0 }, () => {
42933
+ }), At.on(
42921
42934
  {
42922
42935
  key: "[",
42923
42936
  title: "置于底层",
@@ -42927,7 +42940,7 @@ class mI extends fc {
42927
42940
  },
42928
42941
  () => {
42929
42942
  }
42930
- ), Et.on(
42943
+ ), At.on(
42931
42944
  {
42932
42945
  key: "]",
42933
42946
  title: "置于顶层",
@@ -42937,14 +42950,14 @@ class mI extends fc {
42937
42950
  },
42938
42951
  () => {
42939
42952
  }
42940
- ), Et.on({ key: ["delete", "backspace"], title: "删除" }, () => {
42953
+ ), At.on({ key: ["delete", "backspace"], title: "删除" }, () => {
42941
42954
  console.log("删除");
42942
- }), Et.on({ key: "r", title: "重置画布", exact: !0, ctrl: !0 }, () => {
42943
- }), Et.on({ key: " ", title: "移动画布" }, () => (console.log("移动画布"), this.triggerPanning(!0), () => {
42955
+ }), At.on({ key: "r", title: "重置画布", exact: !0, ctrl: !0 }, () => {
42956
+ }), At.on({ key: " ", title: "移动画布" }, () => (console.log("移动画布"), this.triggerPanning(!0), () => {
42944
42957
  this.triggerPanning(!1);
42945
- })), Et.on({ key: ["Control", "Meta"], title: "缩放画布" }, () => (this.triggerMouseWheel(!0), () => {
42958
+ })), At.on({ key: ["Control", "Meta"], title: "缩放画布" }, () => (this.triggerMouseWheel(!0), () => {
42946
42959
  this.triggerMouseWheel(!1);
42947
- })), Et.on(
42960
+ })), At.on(
42948
42961
  {
42949
42962
  key: "j",
42950
42963
  title: "解除组合",
@@ -42958,7 +42971,7 @@ class mI extends fc {
42958
42971
  }
42959
42972
  get pointer() {
42960
42973
  const { x: e, y: t } = this.stage.getRelativePointerPosition() ?? { x: 0, y: 0 };
42961
- return new Tt({ x: e, y: t });
42974
+ return new Ct({ x: e, y: t });
42962
42975
  }
42963
42976
  get curTool() {
42964
42977
  return this.tooler.currentTool;
@@ -43083,13 +43096,13 @@ class mI extends fc {
43083
43096
  scale() {
43084
43097
  return this.stage.scaleX();
43085
43098
  }
43086
- scaleTo(e, t = new Tt({ x: 0, y: 0 })) {
43099
+ scaleTo(e, t = new Ct({ x: 0, y: 0 })) {
43087
43100
  const i = this.scale();
43088
43101
  this.emit("canvasZoomStart", i);
43089
43102
  const s = Math.min(
43090
43103
  Math.max(e, this.config.scale.min),
43091
43104
  this.config.scale.max
43092
- ), a = new Tt({
43105
+ ), a = new Ct({
43093
43106
  x: (t.x - this.stage.x()) / i,
43094
43107
  y: (t.y - this.stage.y()) / i
43095
43108
  });
@@ -43467,14 +43480,14 @@ export {
43467
43480
  LM as DEFAULT_APP_CONFIG,
43468
43481
  RR as DOMCanvas,
43469
43482
  yR as DOMEvent,
43470
- Et as DOMKey,
43483
+ At as DOMKey,
43471
43484
  bR as DOMMedia,
43472
43485
  tp as DOMMouse,
43473
43486
  Wt as DOMQuery,
43474
43487
  _R as DOMScroll,
43475
43488
  Y7 as DOMToBlob,
43476
43489
  q7 as DOMToString,
43477
- Rt as DOMUtil,
43490
+ it as DOMUtil,
43478
43491
  tS as Dep,
43479
43492
  lI as DiamondTool,
43480
43493
  hI as DrawingTool,
@@ -43489,7 +43502,7 @@ export {
43489
43502
  gr as Matrix,
43490
43503
  pa as Matrix3D,
43491
43504
  ga as PathGroup,
43492
- Tt as Point,
43505
+ Ct as Point,
43493
43506
  _l as Polygon,
43494
43507
  Rs as QRCode,
43495
43508
  kR as RGBStringToHexString,