@uptiqai/widgets-sdk 1.233.0 → 1.235.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/headless.js CHANGED
@@ -672,57 +672,57 @@ function lr(e, t, r) {
672
672
  indexes: !1
673
673
  },
674
674
  !1,
675
- function(S, k) {
676
- return !p.isUndefined(k[S]);
675
+ function(S, w) {
676
+ return !p.isUndefined(w[S]);
677
677
  }
678
678
  );
679
- const i = r.metaTokens, n = r.visitor || v, o = r.dots, a = r.indexes, s = r.Blob || typeof Blob < "u" && Blob, c = r.maxDepth === void 0 ? zc : r.maxDepth, u = s && p.isSpecCompliantForm(t), l = [];
679
+ const i = r.metaTokens, n = r.visitor || g, o = r.dots, a = r.indexes, s = r.Blob || typeof Blob < "u" && Blob, c = r.maxDepth === void 0 ? zc : r.maxDepth, u = s && p.isSpecCompliantForm(t), l = [];
680
680
  if (!p.isFunction(n))
681
681
  throw new TypeError("visitor must be a function");
682
- function d(g) {
683
- if (g === null) return "";
684
- if (p.isDate(g))
685
- return g.toISOString();
686
- if (p.isBoolean(g))
687
- return g.toString();
688
- if (!u && p.isBlob(g))
682
+ function d(v) {
683
+ if (v === null) return "";
684
+ if (p.isDate(v))
685
+ return v.toISOString();
686
+ if (p.isBoolean(v))
687
+ return v.toString();
688
+ if (!u && p.isBlob(v))
689
689
  throw new O("Blob is not supported. Use a Buffer instead.");
690
- if (p.isArrayBuffer(g) || p.isTypedArray(g)) {
690
+ if (p.isArrayBuffer(v) || p.isTypedArray(v)) {
691
691
  if (u && typeof s == "function")
692
- return new s([g]);
692
+ return new s([v]);
693
693
  if (typeof Buffer < "u")
694
- return Buffer.from(g);
694
+ return Buffer.from(v);
695
695
  throw new O("Blob is not supported. Use a Buffer instead.", O.ERR_NOT_SUPPORT);
696
696
  }
697
- return g;
697
+ return v;
698
698
  }
699
- function f(g) {
700
- if (g > c)
699
+ function f(v) {
700
+ if (v > c)
701
701
  throw new O(
702
- "Object is too deeply nested (" + g + " levels). Max depth: " + c,
702
+ "Object is too deeply nested (" + v + " levels). Max depth: " + c,
703
703
  O.ERR_FORM_DATA_DEPTH_EXCEEDED
704
704
  );
705
705
  }
706
- function m(g, S) {
706
+ function m(v, S) {
707
707
  if (c === 1 / 0)
708
- return JSON.stringify(g);
709
- const k = [];
710
- return JSON.stringify(g, function(j, C) {
708
+ return JSON.stringify(v);
709
+ const w = [];
710
+ return JSON.stringify(v, function(T, C) {
711
711
  if (!p.isObject(C))
712
712
  return C;
713
- for (; k.length && k[k.length - 1] !== this; )
714
- k.pop();
715
- return k.push(C), f(S + k.length - 1), C;
713
+ for (; w.length && w[w.length - 1] !== this; )
714
+ w.pop();
715
+ return w.push(C), f(S + w.length - 1), C;
716
716
  });
717
717
  }
718
- function v(g, S, k) {
719
- let I = g;
720
- if (p.isReactNative(t) && p.isReactNativeBlob(g))
721
- return t.append(fi(k, S, o), d(g)), !1;
722
- if (g && !k && typeof g == "object") {
718
+ function g(v, S, w) {
719
+ let I = v;
720
+ if (p.isReactNative(t) && p.isReactNativeBlob(v))
721
+ return t.append(fi(w, S, o), d(v)), !1;
722
+ if (v && !w && typeof v == "object") {
723
723
  if (p.endsWith(S, "{}"))
724
- S = i ? S : S.slice(0, -2), g = m(g, 1);
725
- else if (p.isArray(g) && Ig(g) || (p.isFileList(g) || p.endsWith(S, "[]")) && (I = p.toArray(g)))
724
+ S = i ? S : S.slice(0, -2), v = m(v, 1);
725
+ else if (p.isArray(v) && Ig(v) || (p.isFileList(v) || p.endsWith(S, "[]")) && (I = p.toArray(v)))
726
726
  return S = Oc(S), I.forEach(function(C, ce) {
727
727
  !(p.isUndefined(C) || C === null) && t.append(
728
728
  // eslint-disable-next-line no-nested-ternary
@@ -731,19 +731,19 @@ function lr(e, t, r) {
731
731
  );
732
732
  }), !1;
733
733
  }
734
- return wi(g) ? !0 : (t.append(fi(k, S, o), d(g)), !1);
734
+ return wi(v) ? !0 : (t.append(fi(w, S, o), d(v)), !1);
735
735
  }
736
736
  const y = Object.assign(zg, {
737
- defaultVisitor: v,
737
+ defaultVisitor: g,
738
738
  convertValue: d,
739
739
  isVisitable: wi
740
740
  });
741
- function b(g, S, k = 0) {
742
- if (!p.isUndefined(g)) {
743
- if (f(k), l.indexOf(g) !== -1)
741
+ function b(v, S, w = 0) {
742
+ if (!p.isUndefined(v)) {
743
+ if (f(w), l.indexOf(v) !== -1)
744
744
  throw new Error("Circular reference detected in " + S.join("."));
745
- l.push(g), p.forEach(g, function(j, C) {
746
- (!(p.isUndefined(j) || j === null) && n.call(t, j, p.isString(C) ? C.trim() : C, S, y)) === !0 && b(j, S ? S.concat(C) : [C], k + 1);
745
+ l.push(v), p.forEach(v, function(T, C) {
746
+ (!(p.isUndefined(T) || T === null) && n.call(t, T, p.isString(C) ? C.trim() : C, S, y)) === !0 && b(T, S ? S.concat(C) : [C], w + 1);
747
747
  }), l.pop();
748
748
  }
749
749
  }
@@ -1260,7 +1260,7 @@ function ut(e, t) {
1260
1260
  };
1261
1261
  return p.forEach(Object.keys({ ...e, ...t }), function(d) {
1262
1262
  if (d === "__proto__" || d === "constructor" || d === "prototype") return;
1263
- const f = p.hasOwnProp(u, d) ? u[d] : n, m = p.hasOwnProp(e, d) ? e[d] : void 0, v = p.hasOwnProp(t, d) ? t[d] : void 0, y = f(m, v, d);
1263
+ const f = p.hasOwnProp(u, d) ? u[d] : n, m = p.hasOwnProp(e, d) ? e[d] : void 0, g = p.hasOwnProp(t, d) ? t[d] : void 0, y = f(m, g, d);
1264
1264
  p.isUndefined(y) && f !== c || (r[d] = y);
1265
1265
  }), p.hasOwnProp(t, "validateStatus") && p.isUndefined(t.validateStatus) && s("validateStatusUndefinedResolves") === !1 && (p.hasOwnProp(e, "validateStatus") ? r.validateStatus = i(void 0, e.validateStatus) : delete r.validateStatus), r;
1266
1266
  }
@@ -1295,8 +1295,8 @@ function Pc(e) {
1295
1295
  "Authorization",
1296
1296
  "Basic " + btoa(f + ":" + (m ? Xg(m) : ""))
1297
1297
  );
1298
- } catch (v) {
1299
- throw O.from(v, O.ERR_BAD_OPTION_VALUE, e);
1298
+ } catch (g) {
1299
+ throw O.from(g, O.ERR_BAD_OPTION_VALUE, e);
1300
1300
  }
1301
1301
  }
1302
1302
  if (p.isFormData(i) && (ee.hasStandardBrowserEnv || ee.hasStandardBrowserWebWorkerEnv || p.isReactNative(i) ? s.setContentType(void 0) : p.isFunction(i.getHeaders) && Yg(s, i.getHeaders(), r("formDataHeaderPolicy"))), ee.hasStandardBrowserEnv && (p.isFunction(n) && (n = n(t)), n === !0 || n == null && Bg(t.url))) {
@@ -1310,22 +1310,22 @@ const ev = typeof XMLHttpRequest < "u", tv = ev && function(e) {
1310
1310
  const n = Pc(e);
1311
1311
  let o = n.data;
1312
1312
  const a = ae.from(n.headers).normalize();
1313
- let { responseType: s, onUploadProgress: c, onDownloadProgress: u } = n, l, d, f, m, v;
1313
+ let { responseType: s, onUploadProgress: c, onDownloadProgress: u } = n, l, d, f, m, g;
1314
1314
  function y() {
1315
- m && m(), v && v(), n.cancelToken && n.cancelToken.unsubscribe(l), n.signal && n.signal.removeEventListener("abort", l);
1315
+ m && m(), g && g(), n.cancelToken && n.cancelToken.unsubscribe(l), n.signal && n.signal.removeEventListener("abort", l);
1316
1316
  }
1317
1317
  let b = new XMLHttpRequest();
1318
1318
  b.open(n.method.toUpperCase(), n.url, !0), b.timeout = n.timeout;
1319
- function g() {
1319
+ function v() {
1320
1320
  if (!b)
1321
1321
  return;
1322
- const k = ae.from(
1322
+ const w = ae.from(
1323
1323
  "getAllResponseHeaders" in b && b.getAllResponseHeaders()
1324
- ), j = {
1324
+ ), T = {
1325
1325
  data: !s || s === "text" || s === "json" ? b.responseText : b.response,
1326
1326
  status: b.status,
1327
1327
  statusText: b.statusText,
1328
- headers: k,
1328
+ headers: w,
1329
1329
  config: e,
1330
1330
  request: b
1331
1331
  };
@@ -1336,31 +1336,31 @@ const ev = typeof XMLHttpRequest < "u", tv = ev && function(e) {
1336
1336
  function(ce) {
1337
1337
  i(ce), y();
1338
1338
  },
1339
- j
1339
+ T
1340
1340
  ), b = null;
1341
1341
  }
1342
- "onloadend" in b ? b.onloadend = g : b.onreadystatechange = function() {
1343
- !b || b.readyState !== 4 || b.status === 0 && !(b.responseURL && b.responseURL.startsWith("file:")) || setTimeout(g);
1342
+ "onloadend" in b ? b.onloadend = v : b.onreadystatechange = function() {
1343
+ !b || b.readyState !== 4 || b.status === 0 && !(b.responseURL && b.responseURL.startsWith("file:")) || setTimeout(v);
1344
1344
  }, b.onabort = function() {
1345
1345
  b && (i(new O("Request aborted", O.ECONNABORTED, e, b)), y(), b = null);
1346
1346
  }, b.onerror = function(I) {
1347
- const j = I && I.message ? I.message : "Network Error", C = new O(j, O.ERR_NETWORK, e, b);
1347
+ const T = I && I.message ? I.message : "Network Error", C = new O(T, O.ERR_NETWORK, e, b);
1348
1348
  C.event = I || null, i(C), y(), b = null;
1349
1349
  }, b.ontimeout = function() {
1350
1350
  let I = n.timeout ? "timeout of " + n.timeout + "ms exceeded" : "timeout exceeded";
1351
- const j = n.transitional || Hi;
1351
+ const T = n.transitional || Hi;
1352
1352
  n.timeoutErrorMessage && (I = n.timeoutErrorMessage), i(
1353
1353
  new O(
1354
1354
  I,
1355
- j.clarifyTimeoutError ? O.ETIMEDOUT : O.ECONNABORTED,
1355
+ T.clarifyTimeoutError ? O.ETIMEDOUT : O.ECONNABORTED,
1356
1356
  e,
1357
1357
  b
1358
1358
  )
1359
1359
  ), y(), b = null;
1360
- }, o === void 0 && a.setContentType(null), "setRequestHeader" in b && p.forEach(Sc(a), function(I, j) {
1361
- b.setRequestHeader(j, I);
1362
- }), p.isUndefined(n.withCredentials) || (b.withCredentials = !!n.withCredentials), s && s !== "json" && (b.responseType = n.responseType), u && ([f, v] = Hn(u, !0), b.addEventListener("progress", f)), c && b.upload && ([d, m] = Hn(c), b.upload.addEventListener("progress", d), b.upload.addEventListener("loadend", m)), (n.cancelToken || n.signal) && (l = (k) => {
1363
- b && (i(!k || k.type ? new rn(null, e, b) : k), b.abort(), y(), b = null);
1360
+ }, o === void 0 && a.setContentType(null), "setRequestHeader" in b && p.forEach(Sc(a), function(I, T) {
1361
+ b.setRequestHeader(T, I);
1362
+ }), p.isUndefined(n.withCredentials) || (b.withCredentials = !!n.withCredentials), s && s !== "json" && (b.responseType = n.responseType), u && ([f, g] = Hn(u, !0), b.addEventListener("progress", f)), c && b.upload && ([d, m] = Hn(c), b.upload.addEventListener("progress", d), b.upload.addEventListener("loadend", m)), (n.cancelToken || n.signal) && (l = (w) => {
1363
+ b && (i(!w || w.type ? new rn(null, e, b) : w), b.abort(), y(), b = null);
1364
1364
  }, n.cancelToken && n.cancelToken.subscribe(l), n.signal && (n.signal.aborted ? l() : n.signal.addEventListener("abort", l)));
1365
1365
  const S = Lg(n.url);
1366
1366
  if (S && !ee.protocols.includes(S)) {
@@ -1471,8 +1471,8 @@ function sv(e) {
1471
1471
  const s = i.length;
1472
1472
  for (let m = 0; m < s; m++)
1473
1473
  if (i.charCodeAt(m) === 37 && m + 2 < s) {
1474
- const v = i.charCodeAt(m + 1), y = i.charCodeAt(m + 2);
1475
- Gn(v) && Gn(y) && (a -= 2, m += 2);
1474
+ const g = i.charCodeAt(m + 1), y = i.charCodeAt(m + 2);
1475
+ Gn(g) && Gn(y) && (a -= 2, m += 2);
1476
1476
  }
1477
1477
  let c = 0, u = s - 1;
1478
1478
  const l = (m) => m >= 2 && i.charCodeAt(m - 2) === 37 && // '%'
@@ -1535,55 +1535,55 @@ const Qi = "1.18.1", $s = 64 * 1024, { isFunction: Dn } = p, cv = (e) => encodeU
1535
1535
  const { fetch: n, Request: o, Response: a } = e, s = n ? Dn(n) : typeof fetch == "function", c = Dn(o), u = Dn(a);
1536
1536
  if (!s)
1537
1537
  return !1;
1538
- const l = s && Dn(r), d = s && (typeof i == "function" ? /* @__PURE__ */ ((g) => (S) => g.encode(S))(new i()) : async (g) => new Uint8Array(await new o(g).arrayBuffer())), f = c && l && ks(() => {
1539
- let g = !1;
1538
+ const l = s && Dn(r), d = s && (typeof i == "function" ? /* @__PURE__ */ ((v) => (S) => v.encode(S))(new i()) : async (v) => new Uint8Array(await new o(v).arrayBuffer())), f = c && l && ks(() => {
1539
+ let v = !1;
1540
1540
  const S = new o(ee.origin, {
1541
1541
  body: new r(),
1542
1542
  method: "POST",
1543
1543
  get duplex() {
1544
- return g = !0, "half";
1544
+ return v = !0, "half";
1545
1545
  }
1546
- }), k = S.headers.has("Content-Type");
1547
- return S.body != null && S.body.cancel(), g && !k;
1548
- }), m = u && l && ks(() => p.isReadableStream(new a("").body)), v = {
1549
- stream: m && ((g) => g.body)
1546
+ }), w = S.headers.has("Content-Type");
1547
+ return S.body != null && S.body.cancel(), v && !w;
1548
+ }), m = u && l && ks(() => p.isReadableStream(new a("").body)), g = {
1549
+ stream: m && ((v) => v.body)
1550
1550
  };
1551
- s && ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((g) => {
1552
- !v[g] && (v[g] = (S, k) => {
1553
- let I = S && S[g];
1551
+ s && ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((v) => {
1552
+ !g[v] && (g[v] = (S, w) => {
1553
+ let I = S && S[v];
1554
1554
  if (I)
1555
1555
  return I.call(S);
1556
1556
  throw new O(
1557
- `Response type '${g}' is not supported`,
1557
+ `Response type '${v}' is not supported`,
1558
1558
  O.ERR_NOT_SUPPORT,
1559
- k
1559
+ w
1560
1560
  );
1561
1561
  });
1562
1562
  });
1563
- const y = async (g) => {
1564
- if (g == null)
1563
+ const y = async (v) => {
1564
+ if (v == null)
1565
1565
  return 0;
1566
- if (p.isBlob(g))
1567
- return g.size;
1568
- if (p.isSpecCompliantForm(g))
1566
+ if (p.isBlob(v))
1567
+ return v.size;
1568
+ if (p.isSpecCompliantForm(v))
1569
1569
  return (await new o(ee.origin, {
1570
1570
  method: "POST",
1571
- body: g
1571
+ body: v
1572
1572
  }).arrayBuffer()).byteLength;
1573
- if (p.isArrayBufferView(g) || p.isArrayBuffer(g))
1574
- return g.byteLength;
1575
- if (p.isURLSearchParams(g) && (g = g + ""), p.isString(g))
1576
- return (await d(g)).byteLength;
1577
- }, b = async (g, S) => {
1578
- const k = p.toFiniteNumber(g.getContentLength());
1579
- return k ?? y(S);
1580
- };
1581
- return async (g) => {
1573
+ if (p.isArrayBufferView(v) || p.isArrayBuffer(v))
1574
+ return v.byteLength;
1575
+ if (p.isURLSearchParams(v) && (v = v + ""), p.isString(v))
1576
+ return (await d(v)).byteLength;
1577
+ }, b = async (v, S) => {
1578
+ const w = p.toFiniteNumber(v.getContentLength());
1579
+ return w ?? y(S);
1580
+ };
1581
+ return async (v) => {
1582
1582
  let {
1583
1583
  url: S,
1584
- method: k,
1584
+ method: w,
1585
1585
  data: I,
1586
- signal: j,
1586
+ signal: T,
1587
1587
  cancelToken: C,
1588
1588
  timeout: ce,
1589
1589
  onDownloadProgress: Ne,
@@ -1594,12 +1594,12 @@ const Qi = "1.18.1", $s = 64 * 1024, { isFunction: Dn } = p, cv = (e) => encodeU
1594
1594
  fetchOptions: tt,
1595
1595
  maxContentLength: de,
1596
1596
  maxBodyLength: W
1597
- } = Pc(g);
1598
- const L = p.isNumber(de) && de > -1, ui = p.isNumber(W) && W > -1, vh = (Z) => p.hasOwnProp(g, Z) ? g[Z] : void 0;
1597
+ } = Pc(v);
1598
+ const L = p.isNumber(de) && de > -1, ui = p.isNumber(W) && W > -1, vh = (Z) => p.hasOwnProp(v, Z) ? v[Z] : void 0;
1599
1599
  let is = n || fetch;
1600
1600
  _e = _e ? (_e + "").toLowerCase() : "text";
1601
1601
  let qe = nv(
1602
- [j, C && C.toAbortSignal()],
1602
+ [T, C && C.toAbortSignal()],
1603
1603
  ce
1604
1604
  ), Y = null;
1605
1605
  const nt = qe && qe.unsubscribe && (() => {
@@ -1609,7 +1609,7 @@ const Qi = "1.18.1", $s = 64 * 1024, { isFunction: Dn } = p, cv = (e) => encodeU
1609
1609
  const os = () => new O(
1610
1610
  "Request body larger than maxBodyLength limit",
1611
1611
  O.ERR_BAD_REQUEST,
1612
- g,
1612
+ v,
1613
1613
  Y
1614
1614
  );
1615
1615
  try {
@@ -1640,10 +1640,10 @@ const Qi = "1.18.1", $s = 64 * 1024, { isFunction: Dn } = p, cv = (e) => encodeU
1640
1640
  throw new O(
1641
1641
  "maxContentLength size of " + de + " exceeded",
1642
1642
  O.ERR_BAD_RESPONSE,
1643
- g,
1643
+ v,
1644
1644
  Y
1645
1645
  );
1646
- if (ui && k !== "get" && k !== "head") {
1646
+ if (ui && w !== "get" && w !== "head") {
1647
1647
  const A = await y(I);
1648
1648
  if (typeof A == "number" && isFinite(A) && (ht = A, A > W))
1649
1649
  throw os();
@@ -1658,7 +1658,7 @@ const Qi = "1.18.1", $s = 64 * 1024, { isFunction: Dn } = p, cv = (e) => encodeU
1658
1658
  },
1659
1659
  Je
1660
1660
  );
1661
- if (f && k !== "get" && k !== "head" && (Re || Nn)) {
1661
+ if (f && w !== "get" && w !== "head" && (Re || Nn)) {
1662
1662
  if (ht = ht ?? await b(H, I), ht !== 0 || Nn) {
1663
1663
  let A = new o(S, {
1664
1664
  method: "POST",
@@ -1673,13 +1673,13 @@ const Qi = "1.18.1", $s = 64 * 1024, { isFunction: Dn } = p, cv = (e) => encodeU
1673
1673
  I = as(A.body, Je, rt);
1674
1674
  }
1675
1675
  }
1676
- } else if (Nn && !c && l && k !== "get" && k !== "head")
1676
+ } else if (Nn && !c && l && w !== "get" && w !== "head")
1677
1677
  I = as(I);
1678
- else if (Nn && c && !f && k !== "get" && k !== "head")
1678
+ else if (Nn && c && !f && w !== "get" && w !== "head")
1679
1679
  throw new O(
1680
1680
  "Stream request bodies are not supported by the current fetch implementation",
1681
1681
  O.ERR_NOT_SUPPORT,
1682
- g,
1682
+ v,
1683
1683
  Y
1684
1684
  );
1685
1685
  p.isString(Ce) || (Ce = Ce ? "include" : "omit");
@@ -1692,7 +1692,7 @@ const Qi = "1.18.1", $s = 64 * 1024, { isFunction: Dn } = p, cv = (e) => encodeU
1692
1692
  const ss = {
1693
1693
  ...tt,
1694
1694
  signal: qe,
1695
- method: k.toUpperCase(),
1695
+ method: w.toUpperCase(),
1696
1696
  headers: Sc(H.normalize()),
1697
1697
  body: I,
1698
1698
  duplex: "half",
@@ -1707,7 +1707,7 @@ const Qi = "1.18.1", $s = 64 * 1024, { isFunction: Dn } = p, cv = (e) => encodeU
1707
1707
  throw new O(
1708
1708
  "maxContentLength size of " + de + " exceeded",
1709
1709
  O.ERR_BAD_RESPONSE,
1710
- g,
1710
+ v,
1711
1711
  Y
1712
1712
  );
1713
1713
  }
@@ -1727,7 +1727,7 @@ const Qi = "1.18.1", $s = 64 * 1024, { isFunction: Dn } = p, cv = (e) => encodeU
1727
1727
  throw new O(
1728
1728
  "maxContentLength size of " + de + " exceeded",
1729
1729
  O.ERR_BAD_RESPONSE,
1730
- g,
1730
+ v,
1731
1731
  Y
1732
1732
  );
1733
1733
  Je && Je(Ct);
@@ -1740,9 +1740,9 @@ const Qi = "1.18.1", $s = 64 * 1024, { isFunction: Dn } = p, cv = (e) => encodeU
1740
1740
  );
1741
1741
  }
1742
1742
  _e = _e || "text";
1743
- let Le = await v[p.findKey(v, _e) || "text"](
1743
+ let Le = await g[p.findKey(g, _e) || "text"](
1744
1744
  Me,
1745
- g
1745
+ v
1746
1746
  );
1747
1747
  if (L && !m && !li) {
1748
1748
  let A;
@@ -1750,7 +1750,7 @@ const Qi = "1.18.1", $s = 64 * 1024, { isFunction: Dn } = p, cv = (e) => encodeU
1750
1750
  throw new O(
1751
1751
  "maxContentLength size of " + de + " exceeded",
1752
1752
  O.ERR_BAD_RESPONSE,
1753
- g,
1753
+ v,
1754
1754
  Y
1755
1755
  );
1756
1756
  }
@@ -1760,14 +1760,14 @@ const Qi = "1.18.1", $s = 64 * 1024, { isFunction: Dn } = p, cv = (e) => encodeU
1760
1760
  headers: ae.from(Me.headers),
1761
1761
  status: Me.status,
1762
1762
  statusText: Me.statusText,
1763
- config: g,
1763
+ config: v,
1764
1764
  request: Y
1765
1765
  });
1766
1766
  });
1767
1767
  } catch (Z) {
1768
1768
  if (nt && nt(), qe && qe.aborted && qe.reason instanceof O) {
1769
1769
  const be = qe.reason;
1770
- throw be.config = g, Y && (be.request = Y), Z !== be && Object.defineProperty(be, "cause", {
1770
+ throw be.config = v, Y && (be.request = Y), Z !== be && Object.defineProperty(be, "cause", {
1771
1771
  __proto__: null,
1772
1772
  value: Z,
1773
1773
  writable: !0,
@@ -1783,7 +1783,7 @@ const Qi = "1.18.1", $s = 64 * 1024, { isFunction: Dn } = p, cv = (e) => encodeU
1783
1783
  const be = new O(
1784
1784
  "Network Error",
1785
1785
  O.ERR_NETWORK,
1786
- g,
1786
+ v,
1787
1787
  Y,
1788
1788
  Z && Z.response
1789
1789
  );
@@ -1795,7 +1795,7 @@ const Qi = "1.18.1", $s = 64 * 1024, { isFunction: Dn } = p, cv = (e) => encodeU
1795
1795
  configurable: !0
1796
1796
  }), be;
1797
1797
  }
1798
- throw O.from(Z, Z && Z.code, g, Y, Z && Z.response);
1798
+ throw O.from(Z, Z && Z.code, v, Y, Z && Z.response);
1799
1799
  }
1800
1800
  };
1801
1801
  }, dv = /* @__PURE__ */ new Map(), Ac = (e) => {
@@ -2026,8 +2026,8 @@ let at = class {
2026
2026
  !0
2027
2027
  ), r.method = (r.method || this.defaults.method || "get").toLowerCase();
2028
2028
  let a = o && p.merge(o.common, o[r.method]);
2029
- o && p.forEach(["delete", "get", "head", "post", "put", "patch", "query", "common"], (v) => {
2030
- delete o[v];
2029
+ o && p.forEach(["delete", "get", "head", "post", "put", "patch", "query", "common"], (g) => {
2030
+ delete o[g];
2031
2031
  }), r.headers = ae.concat(a, o);
2032
2032
  const s = [];
2033
2033
  let c = !0;
@@ -2044,17 +2044,17 @@ let at = class {
2044
2044
  });
2045
2045
  let l, d = 0, f;
2046
2046
  if (!c) {
2047
- const v = [Is.bind(this), void 0];
2048
- for (v.unshift(...s), v.push(...u), f = v.length, l = Promise.resolve(r); d < f; )
2049
- l = l.then(v[d++], v[d++]);
2047
+ const g = [Is.bind(this), void 0];
2048
+ for (g.unshift(...s), g.push(...u), f = g.length, l = Promise.resolve(r); d < f; )
2049
+ l = l.then(g[d++], g[d++]);
2050
2050
  return l;
2051
2051
  }
2052
2052
  f = s.length;
2053
2053
  let m = r;
2054
2054
  for (; d < f; ) {
2055
- const v = s[d++], y = s[d++];
2055
+ const g = s[d++], y = s[d++];
2056
2056
  try {
2057
- m = v(m);
2057
+ m = g(m);
2058
2058
  } catch (b) {
2059
2059
  y.call(this, b);
2060
2060
  break;
@@ -2062,8 +2062,8 @@ let at = class {
2062
2062
  }
2063
2063
  try {
2064
2064
  l = Is.call(this, m);
2065
- } catch (v) {
2066
- return Promise.reject(v);
2065
+ } catch (g) {
2066
+ return Promise.reject(g);
2067
2067
  }
2068
2068
  for (d = 0, f = u.length; d < f; )
2069
2069
  l = l.then(u[d++], u[d++]);
@@ -4694,7 +4694,7 @@ function io(e) {
4694
4694
  const t = Object.values(e).filter((i) => typeof i == "number");
4695
4695
  return Object.entries(e).filter(([i, n]) => t.indexOf(+i) === -1).map(([i, n]) => n);
4696
4696
  }
4697
- function w(e, t = "|") {
4697
+ function k(e, t = "|") {
4698
4698
  return e.map((r) => E(r)).join(t);
4699
4699
  }
4700
4700
  function Qn(e, t) {
@@ -5179,7 +5179,7 @@ const yu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5179
5179
  isObject: wt,
5180
5180
  isPlainObject: lt,
5181
5181
  issue: kt,
5182
- joinValues: w,
5182
+ joinValues: k,
5183
5183
  jsonStringifyReplacer: Qn,
5184
5184
  merge: fu,
5185
5185
  mergeDefs: Ae,
@@ -6328,7 +6328,7 @@ function dd(e, t, r, i, n, o) {
6328
6328
  continue;
6329
6329
  }
6330
6330
  const m = c.run({ value: t[f], issues: [] }, i);
6331
- m instanceof Promise ? e.push(m.then((v) => Xn(v, r, f, t, l, d))) : Xn(m, r, f, t, l, d);
6331
+ m instanceof Promise ? e.push(m.then((g) => Xn(g, r, f, t, l, d))) : Xn(m, r, f, t, l, d);
6332
6332
  }
6333
6333
  return a.length && r.issues.push({
6334
6334
  code: "unrecognized_keys",
@@ -6377,66 +6377,66 @@ const fd = /* @__PURE__ */ h("$ZodObject", (e, t) => {
6377
6377
  s.value = {};
6378
6378
  const l = [], d = a.shape;
6379
6379
  for (const f of a.keys) {
6380
- const m = d[f], v = m._zod.optin === "optional", y = m._zod.optout === "optional", b = m._zod.run({ value: u[f], issues: [] }, c);
6381
- b instanceof Promise ? l.push(b.then((g) => Xn(g, s, f, u, v, y))) : Xn(b, s, f, u, v, y);
6380
+ const m = d[f], g = m._zod.optin === "optional", y = m._zod.optout === "optional", b = m._zod.run({ value: u[f], issues: [] }, c);
6381
+ b instanceof Promise ? l.push(b.then((v) => Xn(v, s, f, u, g, y))) : Xn(b, s, f, u, g, y);
6382
6382
  }
6383
6383
  return o ? dd(l, u, s, c, i.value, e) : l.length ? Promise.all(l).then(() => s) : s;
6384
6384
  };
6385
6385
  }), md = /* @__PURE__ */ h("$ZodObjectJIT", (e, t) => {
6386
6386
  fd.init(e, t);
6387
6387
  const r = e._zod.parse, i = on(() => ld(t)), n = (f) => {
6388
- const m = new Sl(["shape", "payload", "ctx"]), v = i.value, y = (k) => {
6389
- const I = Ni(k);
6388
+ const m = new Sl(["shape", "payload", "ctx"]), g = i.value, y = (w) => {
6389
+ const I = Ni(w);
6390
6390
  return `shape[${I}]._zod.run({ value: input[${I}], issues: [] }, ctx)`;
6391
6391
  };
6392
6392
  m.write("const input = payload.value;");
6393
6393
  const b = /* @__PURE__ */ Object.create(null);
6394
- let g = 0;
6395
- for (const k of v.keys)
6396
- b[k] = `key_${g++}`;
6394
+ let v = 0;
6395
+ for (const w of g.keys)
6396
+ b[w] = `key_${v++}`;
6397
6397
  m.write("const newResult = {};");
6398
- for (const k of v.keys) {
6399
- const I = b[k], j = Ni(k), C = f[k], ce = C?._zod?.optin === "optional", Ne = C?._zod?.optout === "optional";
6400
- m.write(`const ${I} = ${y(k)};`), ce && Ne ? m.write(`
6398
+ for (const w of g.keys) {
6399
+ const I = b[w], T = Ni(w), C = f[w], ce = C?._zod?.optin === "optional", Ne = C?._zod?.optout === "optional";
6400
+ m.write(`const ${I} = ${y(w)};`), ce && Ne ? m.write(`
6401
6401
  if (${I}.issues.length) {
6402
- if (${j} in input) {
6402
+ if (${T} in input) {
6403
6403
  payload.issues = payload.issues.concat(${I}.issues.map(iss => ({
6404
6404
  ...iss,
6405
- path: iss.path ? [${j}, ...iss.path] : [${j}]
6405
+ path: iss.path ? [${T}, ...iss.path] : [${T}]
6406
6406
  })));
6407
6407
  }
6408
6408
  }
6409
6409
 
6410
6410
  if (${I}.value === undefined) {
6411
- if (${j} in input) {
6412
- newResult[${j}] = undefined;
6411
+ if (${T} in input) {
6412
+ newResult[${T}] = undefined;
6413
6413
  }
6414
6414
  } else {
6415
- newResult[${j}] = ${I}.value;
6415
+ newResult[${T}] = ${I}.value;
6416
6416
  }
6417
6417
 
6418
6418
  `) : ce ? m.write(`
6419
6419
  if (${I}.issues.length) {
6420
6420
  payload.issues = payload.issues.concat(${I}.issues.map(iss => ({
6421
6421
  ...iss,
6422
- path: iss.path ? [${j}, ...iss.path] : [${j}]
6422
+ path: iss.path ? [${T}, ...iss.path] : [${T}]
6423
6423
  })));
6424
6424
  }
6425
6425
 
6426
6426
  if (${I}.value === undefined) {
6427
- if (${j} in input) {
6428
- newResult[${j}] = undefined;
6427
+ if (${T} in input) {
6428
+ newResult[${T}] = undefined;
6429
6429
  }
6430
6430
  } else {
6431
- newResult[${j}] = ${I}.value;
6431
+ newResult[${T}] = ${I}.value;
6432
6432
  }
6433
6433
 
6434
6434
  `) : m.write(`
6435
- const ${I}_present = ${j} in input;
6435
+ const ${I}_present = ${T} in input;
6436
6436
  if (${I}.issues.length) {
6437
6437
  payload.issues = payload.issues.concat(${I}.issues.map(iss => ({
6438
6438
  ...iss,
6439
- path: iss.path ? [${j}, ...iss.path] : [${j}]
6439
+ path: iss.path ? [${T}, ...iss.path] : [${T}]
6440
6440
  })));
6441
6441
  }
6442
6442
  if (!${I}_present && !${I}.issues.length) {
@@ -6444,15 +6444,15 @@ const fd = /* @__PURE__ */ h("$ZodObject", (e, t) => {
6444
6444
  code: "invalid_type",
6445
6445
  expected: "nonoptional",
6446
6446
  input: undefined,
6447
- path: [${j}]
6447
+ path: [${T}]
6448
6448
  });
6449
6449
  }
6450
6450
 
6451
6451
  if (${I}_present) {
6452
6452
  if (${I}.value === undefined) {
6453
- newResult[${j}] = undefined;
6453
+ newResult[${T}] = undefined;
6454
6454
  } else {
6455
- newResult[${j}] = ${I}.value;
6455
+ newResult[${T}] = ${I}.value;
6456
6456
  }
6457
6457
  }
6458
6458
 
@@ -6460,18 +6460,18 @@ const fd = /* @__PURE__ */ h("$ZodObject", (e, t) => {
6460
6460
  }
6461
6461
  m.write("payload.value = newResult;"), m.write("return payload;");
6462
6462
  const S = m.compile();
6463
- return (k, I) => S(f, k, I);
6463
+ return (w, I) => S(f, w, I);
6464
6464
  };
6465
6465
  let o;
6466
6466
  const a = wt, s = !Jt.jitless, u = s && ru.value, l = t.catchall;
6467
6467
  let d;
6468
6468
  e._zod.parse = (f, m) => {
6469
6469
  d ?? (d = i.value);
6470
- const v = f.value;
6471
- return a(v) ? s && u && m?.async === !1 && m.jitless !== !0 ? (o || (o = n(t.shape)), f = o(f, m), l ? dd([], v, f, m, d, e) : f) : r(f, m) : (f.issues.push({
6470
+ const g = f.value;
6471
+ return a(g) ? s && u && m?.async === !1 && m.jitless !== !0 ? (o || (o = n(t.shape)), f = o(f, m), l ? dd([], g, f, m, d, e) : f) : r(f, m) : (f.issues.push({
6472
6472
  expected: "object",
6473
6473
  code: "invalid_type",
6474
- input: v,
6474
+ input: g,
6475
6475
  inst: e
6476
6476
  }), f);
6477
6477
  };
@@ -6715,7 +6715,7 @@ const xo = /* @__PURE__ */ h("$ZodTuple", (e, t) => {
6715
6715
  for (const f of d) {
6716
6716
  l++;
6717
6717
  const m = t.rest._zod.run({ value: f, issues: [] }, n);
6718
- m instanceof Promise ? a.push(m.then((v) => Zs(v, i, l))) : Zs(m, i, l);
6718
+ m instanceof Promise ? a.push(m.then((g) => Zs(g, i, l))) : Zs(m, i, l);
6719
6719
  }
6720
6720
  }
6721
6721
  return a.length ? Promise.all(a).then(() => Fs(u, i, r, o, c)) : Fs(u, i, r, o, c);
@@ -7215,7 +7215,7 @@ const f_ = () => {
7215
7215
  return /^[A-Z]/.test(n.expected) ? `مدخلات غير مقبولة: يفترض إدخال instanceof ${n.expected}، ولكن تم إدخال ${s}` : `مدخلات غير مقبولة: يفترض إدخال ${o}، ولكن تم إدخال ${s}`;
7216
7216
  }
7217
7217
  case "invalid_value":
7218
- return n.values.length === 1 ? `مدخلات غير مقبولة: يفترض إدخال ${E(n.values[0])}` : `اختيار غير مقبول: يتوقع انتقاء أحد هذه الخيارات: ${w(n.values, "|")}`;
7218
+ return n.values.length === 1 ? `مدخلات غير مقبولة: يفترض إدخال ${E(n.values[0])}` : `اختيار غير مقبول: يتوقع انتقاء أحد هذه الخيارات: ${k(n.values, "|")}`;
7219
7219
  case "too_big": {
7220
7220
  const o = n.inclusive ? "<=" : "<", a = t(n.origin);
7221
7221
  return a ? ` أكبر من اللازم: يفترض أن تكون ${n.origin ?? "القيمة"} ${o} ${n.maximum.toString()} ${a.unit ?? "عنصر"}` : `أكبر من اللازم: يفترض أن تكون ${n.origin ?? "القيمة"} ${o} ${n.maximum.toString()}`;
@@ -7231,7 +7231,7 @@ const f_ = () => {
7231
7231
  case "not_multiple_of":
7232
7232
  return `رقم غير مقبول: يجب أن يكون من مضاعفات ${n.divisor}`;
7233
7233
  case "unrecognized_keys":
7234
- return `معرف${n.keys.length > 1 ? "ات" : ""} غريب${n.keys.length > 1 ? "ة" : ""}: ${w(n.keys, "، ")}`;
7234
+ return `معرف${n.keys.length > 1 ? "ات" : ""} غريب${n.keys.length > 1 ? "ة" : ""}: ${k(n.keys, "، ")}`;
7235
7235
  case "invalid_key":
7236
7236
  return `معرف غير مقبول في ${n.origin}`;
7237
7237
  case "invalid_union":
@@ -7297,7 +7297,7 @@ const p_ = () => {
7297
7297
  return /^[A-Z]/.test(n.expected) ? `Yanlış dəyər: gözlənilən instanceof ${n.expected}, daxil olan ${s}` : `Yanlış dəyər: gözlənilən ${o}, daxil olan ${s}`;
7298
7298
  }
7299
7299
  case "invalid_value":
7300
- return n.values.length === 1 ? `Yanlış dəyər: gözlənilən ${E(n.values[0])}` : `Yanlış seçim: aşağıdakılardan biri olmalıdır: ${w(n.values, "|")}`;
7300
+ return n.values.length === 1 ? `Yanlış dəyər: gözlənilən ${E(n.values[0])}` : `Yanlış seçim: aşağıdakılardan biri olmalıdır: ${k(n.values, "|")}`;
7301
7301
  case "too_big": {
7302
7302
  const o = n.inclusive ? "<=" : "<", a = t(n.origin);
7303
7303
  return a ? `Çox böyük: gözlənilən ${n.origin ?? "dəyər"} ${o}${n.maximum.toString()} ${a.unit ?? "element"}` : `Çox böyük: gözlənilən ${n.origin ?? "dəyər"} ${o}${n.maximum.toString()}`;
@@ -7313,7 +7313,7 @@ const p_ = () => {
7313
7313
  case "not_multiple_of":
7314
7314
  return `Yanlış ədəd: ${n.divisor} ilə bölünə bilən olmalıdır`;
7315
7315
  case "unrecognized_keys":
7316
- return `Tanınmayan açar${n.keys.length > 1 ? "lar" : ""}: ${w(n.keys, ", ")}`;
7316
+ return `Tanınmayan açar${n.keys.length > 1 ? "lar" : ""}: ${k(n.keys, ", ")}`;
7317
7317
  case "invalid_key":
7318
7318
  return `${n.origin} daxilində yanlış açar`;
7319
7319
  case "invalid_union":
@@ -7413,7 +7413,7 @@ const g_ = () => {
7413
7413
  return /^[A-Z]/.test(n.expected) ? `Няправільны ўвод: чакаўся instanceof ${n.expected}, атрымана ${s}` : `Няправільны ўвод: чакаўся ${o}, атрымана ${s}`;
7414
7414
  }
7415
7415
  case "invalid_value":
7416
- return n.values.length === 1 ? `Няправільны ўвод: чакалася ${E(n.values[0])}` : `Няправільны варыянт: чакаўся адзін з ${w(n.values, "|")}`;
7416
+ return n.values.length === 1 ? `Няправільны ўвод: чакалася ${E(n.values[0])}` : `Няправільны варыянт: чакаўся адзін з ${k(n.values, "|")}`;
7417
7417
  case "too_big": {
7418
7418
  const o = n.inclusive ? "<=" : "<", a = t(n.origin);
7419
7419
  if (a) {
@@ -7437,7 +7437,7 @@ const g_ = () => {
7437
7437
  case "not_multiple_of":
7438
7438
  return `Няправільны лік: павінен быць кратным ${n.divisor}`;
7439
7439
  case "unrecognized_keys":
7440
- return `Нераспазнаны ${n.keys.length > 1 ? "ключы" : "ключ"}: ${w(n.keys, ", ")}`;
7440
+ return `Нераспазнаны ${n.keys.length > 1 ? "ключы" : "ключ"}: ${k(n.keys, ", ")}`;
7441
7441
  case "invalid_key":
7442
7442
  return `Няправільны ключ у ${n.origin}`;
7443
7443
  case "invalid_union":
@@ -7505,7 +7505,7 @@ const y_ = () => {
7505
7505
  return /^[A-Z]/.test(n.expected) ? `Невалиден вход: очакван instanceof ${n.expected}, получен ${s}` : `Невалиден вход: очакван ${o}, получен ${s}`;
7506
7506
  }
7507
7507
  case "invalid_value":
7508
- return n.values.length === 1 ? `Невалиден вход: очакван ${E(n.values[0])}` : `Невалидна опция: очаквано едно от ${w(n.values, "|")}`;
7508
+ return n.values.length === 1 ? `Невалиден вход: очакван ${E(n.values[0])}` : `Невалидна опция: очаквано едно от ${k(n.values, "|")}`;
7509
7509
  case "too_big": {
7510
7510
  const o = n.inclusive ? "<=" : "<", a = t(n.origin);
7511
7511
  return a ? `Твърде голямо: очаква се ${n.origin ?? "стойност"} да съдържа ${o}${n.maximum.toString()} ${a.unit ?? "елемента"}` : `Твърде голямо: очаква се ${n.origin ?? "стойност"} да бъде ${o}${n.maximum.toString()}`;
@@ -7530,7 +7530,7 @@ const y_ = () => {
7530
7530
  case "not_multiple_of":
7531
7531
  return `Невалидно число: трябва да бъде кратно на ${n.divisor}`;
7532
7532
  case "unrecognized_keys":
7533
- return `Неразпознат${n.keys.length > 1 ? "и" : ""} ключ${n.keys.length > 1 ? "ове" : ""}: ${w(n.keys, ", ")}`;
7533
+ return `Неразпознат${n.keys.length > 1 ? "и" : ""} ключ${n.keys.length > 1 ? "ове" : ""}: ${k(n.keys, ", ")}`;
7534
7534
  case "invalid_key":
7535
7535
  return `Невалиден ключ в ${n.origin}`;
7536
7536
  case "invalid_union":
@@ -7596,7 +7596,7 @@ const b_ = () => {
7596
7596
  return /^[A-Z]/.test(n.expected) ? `Tipus invàlid: s'esperava instanceof ${n.expected}, s'ha rebut ${s}` : `Tipus invàlid: s'esperava ${o}, s'ha rebut ${s}`;
7597
7597
  }
7598
7598
  case "invalid_value":
7599
- return n.values.length === 1 ? `Valor invàlid: s'esperava ${E(n.values[0])}` : `Opció invàlida: s'esperava una de ${w(n.values, " o ")}`;
7599
+ return n.values.length === 1 ? `Valor invàlid: s'esperava ${E(n.values[0])}` : `Opció invàlida: s'esperava una de ${k(n.values, " o ")}`;
7600
7600
  case "too_big": {
7601
7601
  const o = n.inclusive ? "com a màxim" : "menys de", a = t(n.origin);
7602
7602
  return a ? `Massa gran: s'esperava que ${n.origin ?? "el valor"} contingués ${o} ${n.maximum.toString()} ${a.unit ?? "elements"}` : `Massa gran: s'esperava que ${n.origin ?? "el valor"} fos ${o} ${n.maximum.toString()}`;
@@ -7612,7 +7612,7 @@ const b_ = () => {
7612
7612
  case "not_multiple_of":
7613
7613
  return `Número invàlid: ha de ser múltiple de ${n.divisor}`;
7614
7614
  case "unrecognized_keys":
7615
- return `Clau${n.keys.length > 1 ? "s" : ""} no reconeguda${n.keys.length > 1 ? "s" : ""}: ${w(n.keys, ", ")}`;
7615
+ return `Clau${n.keys.length > 1 ? "s" : ""} no reconeguda${n.keys.length > 1 ? "s" : ""}: ${k(n.keys, ", ")}`;
7616
7616
  case "invalid_key":
7617
7617
  return `Clau invàlida a ${n.origin}`;
7618
7618
  case "invalid_union":
@@ -7683,7 +7683,7 @@ const w_ = () => {
7683
7683
  return /^[A-Z]/.test(n.expected) ? `Neplatný vstup: očekáváno instanceof ${n.expected}, obdrženo ${s}` : `Neplatný vstup: očekáváno ${o}, obdrženo ${s}`;
7684
7684
  }
7685
7685
  case "invalid_value":
7686
- return n.values.length === 1 ? `Neplatný vstup: očekáváno ${E(n.values[0])}` : `Neplatná možnost: očekávána jedna z hodnot ${w(n.values, "|")}`;
7686
+ return n.values.length === 1 ? `Neplatný vstup: očekáváno ${E(n.values[0])}` : `Neplatná možnost: očekávána jedna z hodnot ${k(n.values, "|")}`;
7687
7687
  case "too_big": {
7688
7688
  const o = n.inclusive ? "<=" : "<", a = t(n.origin);
7689
7689
  return a ? `Hodnota je příliš velká: ${n.origin ?? "hodnota"} musí mít ${o}${n.maximum.toString()} ${a.unit ?? "prvků"}` : `Hodnota je příliš velká: ${n.origin ?? "hodnota"} musí být ${o}${n.maximum.toString()}`;
@@ -7699,7 +7699,7 @@ const w_ = () => {
7699
7699
  case "not_multiple_of":
7700
7700
  return `Neplatné číslo: musí být násobkem ${n.divisor}`;
7701
7701
  case "unrecognized_keys":
7702
- return `Neznámé klíče: ${w(n.keys, ", ")}`;
7702
+ return `Neznámé klíče: ${k(n.keys, ", ")}`;
7703
7703
  case "invalid_key":
7704
7704
  return `Neplatný klíč v ${n.origin}`;
7705
7705
  case "invalid_union":
@@ -7772,7 +7772,7 @@ const S_ = () => {
7772
7772
  return /^[A-Z]/.test(n.expected) ? `Ugyldigt input: forventede instanceof ${n.expected}, fik ${s}` : `Ugyldigt input: forventede ${o}, fik ${s}`;
7773
7773
  }
7774
7774
  case "invalid_value":
7775
- return n.values.length === 1 ? `Ugyldig værdi: forventede ${E(n.values[0])}` : `Ugyldigt valg: forventede en af følgende ${w(n.values, "|")}`;
7775
+ return n.values.length === 1 ? `Ugyldig værdi: forventede ${E(n.values[0])}` : `Ugyldigt valg: forventede en af følgende ${k(n.values, "|")}`;
7776
7776
  case "too_big": {
7777
7777
  const o = n.inclusive ? "<=" : "<", a = t(n.origin), s = i[n.origin] ?? n.origin;
7778
7778
  return a ? `For stor: forventede ${s ?? "value"} ${a.verb} ${o} ${n.maximum.toString()} ${a.unit ?? "elementer"}` : `For stor: forventede ${s ?? "value"} havde ${o} ${n.maximum.toString()}`;
@@ -7788,7 +7788,7 @@ const S_ = () => {
7788
7788
  case "not_multiple_of":
7789
7789
  return `Ugyldigt tal: skal være deleligt med ${n.divisor}`;
7790
7790
  case "unrecognized_keys":
7791
- return `${n.keys.length > 1 ? "Ukendte nøgler" : "Ukendt nøgle"}: ${w(n.keys, ", ")}`;
7791
+ return `${n.keys.length > 1 ? "Ukendte nøgler" : "Ukendt nøgle"}: ${k(n.keys, ", ")}`;
7792
7792
  case "invalid_key":
7793
7793
  return `Ugyldig nøgle i ${n.origin}`;
7794
7794
  case "invalid_union":
@@ -7856,7 +7856,7 @@ const z_ = () => {
7856
7856
  return /^[A-Z]/.test(n.expected) ? `Ungültige Eingabe: erwartet instanceof ${n.expected}, erhalten ${s}` : `Ungültige Eingabe: erwartet ${o}, erhalten ${s}`;
7857
7857
  }
7858
7858
  case "invalid_value":
7859
- return n.values.length === 1 ? `Ungültige Eingabe: erwartet ${E(n.values[0])}` : `Ungültige Option: erwartet eine von ${w(n.values, "|")}`;
7859
+ return n.values.length === 1 ? `Ungültige Eingabe: erwartet ${E(n.values[0])}` : `Ungültige Option: erwartet eine von ${k(n.values, "|")}`;
7860
7860
  case "too_big": {
7861
7861
  const o = n.inclusive ? "<=" : "<", a = t(n.origin);
7862
7862
  return a ? `Zu groß: erwartet, dass ${n.origin ?? "Wert"} ${o}${n.maximum.toString()} ${a.unit ?? "Elemente"} hat` : `Zu groß: erwartet, dass ${n.origin ?? "Wert"} ${o}${n.maximum.toString()} ist`;
@@ -7872,7 +7872,7 @@ const z_ = () => {
7872
7872
  case "not_multiple_of":
7873
7873
  return `Ungültige Zahl: muss ein Vielfaches von ${n.divisor} sein`;
7874
7874
  case "unrecognized_keys":
7875
- return `${n.keys.length > 1 ? "Unbekannte Schlüssel" : "Unbekannter Schlüssel"}: ${w(n.keys, ", ")}`;
7875
+ return `${n.keys.length > 1 ? "Unbekannte Schlüssel" : "Unbekannter Schlüssel"}: ${k(n.keys, ", ")}`;
7876
7876
  case "invalid_key":
7877
7877
  return `Ungültiger Schlüssel in ${n.origin}`;
7878
7878
  case "invalid_union":
@@ -7940,7 +7940,7 @@ const x_ = () => {
7940
7940
  return typeof n.expected == "string" && /^[A-Z]/.test(n.expected) ? `Μη έγκυρη είσοδος: αναμενόταν instanceof ${n.expected}, λήφθηκε ${s}` : `Μη έγκυρη είσοδος: αναμενόταν ${o}, λήφθηκε ${s}`;
7941
7941
  }
7942
7942
  case "invalid_value":
7943
- return n.values.length === 1 ? `Μη έγκυρη είσοδος: αναμενόταν ${E(n.values[0])}` : `Μη έγκυρη επιλογή: αναμενόταν ένα από ${w(n.values, "|")}`;
7943
+ return n.values.length === 1 ? `Μη έγκυρη είσοδος: αναμενόταν ${E(n.values[0])}` : `Μη έγκυρη επιλογή: αναμενόταν ένα από ${k(n.values, "|")}`;
7944
7944
  case "too_big": {
7945
7945
  const o = n.inclusive ? "<=" : "<", a = t(n.origin);
7946
7946
  return a ? `Πολύ μεγάλο: αναμενόταν ${n.origin ?? "τιμή"} να έχει ${o}${n.maximum.toString()} ${a.unit ?? "στοιχεία"}` : `Πολύ μεγάλο: αναμενόταν ${n.origin ?? "τιμή"} να είναι ${o}${n.maximum.toString()}`;
@@ -7956,7 +7956,7 @@ const x_ = () => {
7956
7956
  case "not_multiple_of":
7957
7957
  return `Μη έγκυρος αριθμός: πρέπει να είναι πολλαπλάσιο του ${n.divisor}`;
7958
7958
  case "unrecognized_keys":
7959
- return `Άγνωστ${n.keys.length > 1 ? "α" : "ο"} κλειδ${n.keys.length > 1 ? "ιά" : "ί"}: ${w(n.keys, ", ")}`;
7959
+ return `Άγνωστ${n.keys.length > 1 ? "α" : "ο"} κλειδ${n.keys.length > 1 ? "ιά" : "ί"}: ${k(n.keys, ", ")}`;
7960
7960
  case "invalid_key":
7961
7961
  return `Μη έγκυρο κλειδί στο ${n.origin}`;
7962
7962
  case "invalid_union":
@@ -8026,7 +8026,7 @@ const N_ = () => {
8026
8026
  return `Invalid input: expected ${o}, received ${s}`;
8027
8027
  }
8028
8028
  case "invalid_value":
8029
- return n.values.length === 1 ? `Invalid input: expected ${E(n.values[0])}` : `Invalid option: expected one of ${w(n.values, "|")}`;
8029
+ return n.values.length === 1 ? `Invalid input: expected ${E(n.values[0])}` : `Invalid option: expected one of ${k(n.values, "|")}`;
8030
8030
  case "too_big": {
8031
8031
  const o = n.inclusive ? "<=" : "<", a = t(n.origin);
8032
8032
  return a ? `Too big: expected ${n.origin ?? "value"} to have ${o}${n.maximum.toString()} ${a.unit ?? "elements"}` : `Too big: expected ${n.origin ?? "value"} to be ${o}${n.maximum.toString()}`;
@@ -8042,7 +8042,7 @@ const N_ = () => {
8042
8042
  case "not_multiple_of":
8043
8043
  return `Invalid number: must be a multiple of ${n.divisor}`;
8044
8044
  case "unrecognized_keys":
8045
- return `Unrecognized key${n.keys.length > 1 ? "s" : ""}: ${w(n.keys, ", ")}`;
8045
+ return `Unrecognized key${n.keys.length > 1 ? "s" : ""}: ${k(n.keys, ", ")}`;
8046
8046
  case "invalid_key":
8047
8047
  return `Invalid key in ${n.origin}`;
8048
8048
  case "invalid_union":
@@ -8111,7 +8111,7 @@ const D_ = () => {
8111
8111
  return /^[A-Z]/.test(n.expected) ? `Nevalida enigo: atendiĝis instanceof ${n.expected}, riceviĝis ${s}` : `Nevalida enigo: atendiĝis ${o}, riceviĝis ${s}`;
8112
8112
  }
8113
8113
  case "invalid_value":
8114
- return n.values.length === 1 ? `Nevalida enigo: atendiĝis ${E(n.values[0])}` : `Nevalida opcio: atendiĝis unu el ${w(n.values, "|")}`;
8114
+ return n.values.length === 1 ? `Nevalida enigo: atendiĝis ${E(n.values[0])}` : `Nevalida opcio: atendiĝis unu el ${k(n.values, "|")}`;
8115
8115
  case "too_big": {
8116
8116
  const o = n.inclusive ? "<=" : "<", a = t(n.origin);
8117
8117
  return a ? `Tro granda: atendiĝis ke ${n.origin ?? "valoro"} havu ${o}${n.maximum.toString()} ${a.unit ?? "elementojn"}` : `Tro granda: atendiĝis ke ${n.origin ?? "valoro"} havu ${o}${n.maximum.toString()}`;
@@ -8127,7 +8127,7 @@ const D_ = () => {
8127
8127
  case "not_multiple_of":
8128
8128
  return `Nevalida nombro: devas esti oblo de ${n.divisor}`;
8129
8129
  case "unrecognized_keys":
8130
- return `Nekonata${n.keys.length > 1 ? "j" : ""} ŝlosilo${n.keys.length > 1 ? "j" : ""}: ${w(n.keys, ", ")}`;
8130
+ return `Nekonata${n.keys.length > 1 ? "j" : ""} ŝlosilo${n.keys.length > 1 ? "j" : ""}: ${k(n.keys, ", ")}`;
8131
8131
  case "invalid_key":
8132
8132
  return `Nevalida ŝlosilo en ${n.origin}`;
8133
8133
  case "invalid_union":
@@ -8217,7 +8217,7 @@ const j_ = () => {
8217
8217
  return /^[A-Z]/.test(n.expected) ? `Entrada inválida: se esperaba instanceof ${n.expected}, recibido ${s}` : `Entrada inválida: se esperaba ${o}, recibido ${s}`;
8218
8218
  }
8219
8219
  case "invalid_value":
8220
- return n.values.length === 1 ? `Entrada inválida: se esperaba ${E(n.values[0])}` : `Opción inválida: se esperaba una de ${w(n.values, "|")}`;
8220
+ return n.values.length === 1 ? `Entrada inválida: se esperaba ${E(n.values[0])}` : `Opción inválida: se esperaba una de ${k(n.values, "|")}`;
8221
8221
  case "too_big": {
8222
8222
  const o = n.inclusive ? "<=" : "<", a = t(n.origin), s = i[n.origin] ?? n.origin;
8223
8223
  return a ? `Demasiado grande: se esperaba que ${s ?? "valor"} tuviera ${o}${n.maximum.toString()} ${a.unit ?? "elementos"}` : `Demasiado grande: se esperaba que ${s ?? "valor"} fuera ${o}${n.maximum.toString()}`;
@@ -8233,7 +8233,7 @@ const j_ = () => {
8233
8233
  case "not_multiple_of":
8234
8234
  return `Número inválido: debe ser múltiplo de ${n.divisor}`;
8235
8235
  case "unrecognized_keys":
8236
- return `Llave${n.keys.length > 1 ? "s" : ""} desconocida${n.keys.length > 1 ? "s" : ""}: ${w(n.keys, ", ")}`;
8236
+ return `Llave${n.keys.length > 1 ? "s" : ""} desconocida${n.keys.length > 1 ? "s" : ""}: ${k(n.keys, ", ")}`;
8237
8237
  case "invalid_key":
8238
8238
  return `Llave inválida en ${i[n.origin] ?? n.origin}`;
8239
8239
  case "invalid_union":
@@ -8301,7 +8301,7 @@ const P_ = () => {
8301
8301
  return /^[A-Z]/.test(n.expected) ? `ورودی نامعتبر: می‌بایست instanceof ${n.expected} می‌بود، ${s} دریافت شد` : `ورودی نامعتبر: می‌بایست ${o} می‌بود، ${s} دریافت شد`;
8302
8302
  }
8303
8303
  case "invalid_value":
8304
- return n.values.length === 1 ? `ورودی نامعتبر: می‌بایست ${E(n.values[0])} می‌بود` : `گزینه نامعتبر: می‌بایست یکی از ${w(n.values, "|")} می‌بود`;
8304
+ return n.values.length === 1 ? `ورودی نامعتبر: می‌بایست ${E(n.values[0])} می‌بود` : `گزینه نامعتبر: می‌بایست یکی از ${k(n.values, "|")} می‌بود`;
8305
8305
  case "too_big": {
8306
8306
  const o = n.inclusive ? "<=" : "<", a = t(n.origin);
8307
8307
  return a ? `خیلی بزرگ: ${n.origin ?? "مقدار"} باید ${o}${n.maximum.toString()} ${a.unit ?? "عنصر"} باشد` : `خیلی بزرگ: ${n.origin ?? "مقدار"} باید ${o}${n.maximum.toString()} باشد`;
@@ -8317,7 +8317,7 @@ const P_ = () => {
8317
8317
  case "not_multiple_of":
8318
8318
  return `عدد نامعتبر: باید مضرب ${n.divisor} باشد`;
8319
8319
  case "unrecognized_keys":
8320
- return `کلید${n.keys.length > 1 ? "های" : ""} ناشناس: ${w(n.keys, ", ")}`;
8320
+ return `کلید${n.keys.length > 1 ? "های" : ""} ناشناس: ${k(n.keys, ", ")}`;
8321
8321
  case "invalid_key":
8322
8322
  return `کلید ناشناس در ${n.origin}`;
8323
8323
  case "invalid_union":
@@ -8387,7 +8387,7 @@ const R_ = () => {
8387
8387
  return /^[A-Z]/.test(n.expected) ? `Virheellinen tyyppi: odotettiin instanceof ${n.expected}, oli ${s}` : `Virheellinen tyyppi: odotettiin ${o}, oli ${s}`;
8388
8388
  }
8389
8389
  case "invalid_value":
8390
- return n.values.length === 1 ? `Virheellinen syöte: täytyy olla ${E(n.values[0])}` : `Virheellinen valinta: täytyy olla yksi seuraavista: ${w(n.values, "|")}`;
8390
+ return n.values.length === 1 ? `Virheellinen syöte: täytyy olla ${E(n.values[0])}` : `Virheellinen valinta: täytyy olla yksi seuraavista: ${k(n.values, "|")}`;
8391
8391
  case "too_big": {
8392
8392
  const o = n.inclusive ? "<=" : "<", a = t(n.origin);
8393
8393
  return a ? `Liian suuri: ${a.subject} täytyy olla ${o}${n.maximum.toString()} ${a.unit}`.trim() : `Liian suuri: arvon täytyy olla ${o}${n.maximum.toString()}`;
@@ -8403,7 +8403,7 @@ const R_ = () => {
8403
8403
  case "not_multiple_of":
8404
8404
  return `Virheellinen luku: täytyy olla luvun ${n.divisor} monikerta`;
8405
8405
  case "unrecognized_keys":
8406
- return `${n.keys.length > 1 ? "Tuntemattomat avaimet" : "Tuntematon avain"}: ${w(n.keys, ", ")}`;
8406
+ return `${n.keys.length > 1 ? "Tuntemattomat avaimet" : "Tuntematon avain"}: ${k(n.keys, ", ")}`;
8407
8407
  case "invalid_key":
8408
8408
  return "Virheellinen avain tietueessa";
8409
8409
  case "invalid_union":
@@ -8489,7 +8489,7 @@ const M_ = () => {
8489
8489
  return /^[A-Z]/.test(n.expected) ? `Entrée invalide : instanceof ${n.expected} attendu, ${s} reçu` : `Entrée invalide : ${o} attendu, ${s} reçu`;
8490
8490
  }
8491
8491
  case "invalid_value":
8492
- return n.values.length === 1 ? `Entrée invalide : ${E(n.values[0])} attendu` : `Option invalide : une valeur parmi ${w(n.values, "|")} attendue`;
8492
+ return n.values.length === 1 ? `Entrée invalide : ${E(n.values[0])} attendu` : `Option invalide : une valeur parmi ${k(n.values, "|")} attendue`;
8493
8493
  case "too_big": {
8494
8494
  const o = n.inclusive ? "<=" : "<", a = t(n.origin);
8495
8495
  return a ? `Trop grand : ${i[n.origin] ?? "valeur"} doit ${a.verb} ${o}${n.maximum.toString()} ${a.unit ?? "élément(s)"}` : `Trop grand : ${i[n.origin] ?? "valeur"} doit être ${o}${n.maximum.toString()}`;
@@ -8505,7 +8505,7 @@ const M_ = () => {
8505
8505
  case "not_multiple_of":
8506
8506
  return `Nombre invalide : doit être un multiple de ${n.divisor}`;
8507
8507
  case "unrecognized_keys":
8508
- return `Clé${n.keys.length > 1 ? "s" : ""} non reconnue${n.keys.length > 1 ? "s" : ""} : ${w(n.keys, ", ")}`;
8508
+ return `Clé${n.keys.length > 1 ? "s" : ""} non reconnue${n.keys.length > 1 ? "s" : ""} : ${k(n.keys, ", ")}`;
8509
8509
  case "invalid_key":
8510
8510
  return `Clé invalide dans ${n.origin}`;
8511
8511
  case "invalid_union":
@@ -8571,7 +8571,7 @@ const Z_ = () => {
8571
8571
  return /^[A-Z]/.test(n.expected) ? `Entrée invalide : attendu instanceof ${n.expected}, reçu ${s}` : `Entrée invalide : attendu ${o}, reçu ${s}`;
8572
8572
  }
8573
8573
  case "invalid_value":
8574
- return n.values.length === 1 ? `Entrée invalide : attendu ${E(n.values[0])}` : `Option invalide : attendu l'une des valeurs suivantes ${w(n.values, "|")}`;
8574
+ return n.values.length === 1 ? `Entrée invalide : attendu ${E(n.values[0])}` : `Option invalide : attendu l'une des valeurs suivantes ${k(n.values, "|")}`;
8575
8575
  case "too_big": {
8576
8576
  const o = n.inclusive ? "≤" : "<", a = t(n.origin);
8577
8577
  return a ? `Trop grand : attendu que ${n.origin ?? "la valeur"} ait ${o}${n.maximum.toString()} ${a.unit}` : `Trop grand : attendu que ${n.origin ?? "la valeur"} soit ${o}${n.maximum.toString()}`;
@@ -8587,7 +8587,7 @@ const Z_ = () => {
8587
8587
  case "not_multiple_of":
8588
8588
  return `Nombre invalide : doit être un multiple de ${n.divisor}`;
8589
8589
  case "unrecognized_keys":
8590
- return `Clé${n.keys.length > 1 ? "s" : ""} non reconnue${n.keys.length > 1 ? "s" : ""} : ${w(n.keys, ", ")}`;
8590
+ return `Clé${n.keys.length > 1 ? "s" : ""} non reconnue${n.keys.length > 1 ? "s" : ""} : ${k(n.keys, ", ")}`;
8591
8591
  case "invalid_key":
8592
8592
  return `Clé invalide dans ${n.origin}`;
8593
8593
  case "invalid_union":
@@ -8688,12 +8688,12 @@ const B_ = () => {
8688
8688
  if (u.origin === "string")
8689
8689
  return `${l?.longLabel ?? "ארוך"} מדי: ${d} צריכה להכיל ${u.maximum.toString()} ${l?.unit ?? ""} ${u.inclusive ? "או פחות" : "לכל היותר"}`.trim();
8690
8690
  if (u.origin === "number") {
8691
- const v = u.inclusive ? `קטן או שווה ל-${u.maximum}` : `קטן מ-${u.maximum}`;
8692
- return `גדול מדי: ${d} צריך להיות ${v}`;
8691
+ const g = u.inclusive ? `קטן או שווה ל-${u.maximum}` : `קטן מ-${u.maximum}`;
8692
+ return `גדול מדי: ${d} צריך להיות ${g}`;
8693
8693
  }
8694
8694
  if (u.origin === "array" || u.origin === "set") {
8695
- const v = u.origin === "set" ? "צריכה" : "צריך", y = u.inclusive ? `${u.maximum} ${l?.unit ?? ""} או פחות` : `פחות מ-${u.maximum} ${l?.unit ?? ""}`;
8696
- return `גדול מדי: ${d} ${v} להכיל ${y}`.trim();
8695
+ const g = u.origin === "set" ? "צריכה" : "צריך", y = u.inclusive ? `${u.maximum} ${l?.unit ?? ""} או פחות` : `פחות מ-${u.maximum} ${l?.unit ?? ""}`;
8696
+ return `גדול מדי: ${d} ${g} להכיל ${y}`.trim();
8697
8697
  }
8698
8698
  const f = u.inclusive ? "<=" : "<", m = o(u.origin ?? "value");
8699
8699
  return l?.unit ? `${l.longLabel} מדי: ${d} ${m} ${f}${u.maximum.toString()} ${l.unit}` : `${l?.longLabel ?? "גדול"} מדי: ${d} ${m} ${f}${u.maximum.toString()}`;
@@ -8703,17 +8703,17 @@ const B_ = () => {
8703
8703
  if (u.origin === "string")
8704
8704
  return `${l?.shortLabel ?? "קצר"} מדי: ${d} צריכה להכיל ${u.minimum.toString()} ${l?.unit ?? ""} ${u.inclusive ? "או יותר" : "לפחות"}`.trim();
8705
8705
  if (u.origin === "number") {
8706
- const v = u.inclusive ? `גדול או שווה ל-${u.minimum}` : `גדול מ-${u.minimum}`;
8707
- return `קטן מדי: ${d} צריך להיות ${v}`;
8706
+ const g = u.inclusive ? `גדול או שווה ל-${u.minimum}` : `גדול מ-${u.minimum}`;
8707
+ return `קטן מדי: ${d} צריך להיות ${g}`;
8708
8708
  }
8709
8709
  if (u.origin === "array" || u.origin === "set") {
8710
- const v = u.origin === "set" ? "צריכה" : "צריך";
8710
+ const g = u.origin === "set" ? "צריכה" : "צריך";
8711
8711
  if (u.minimum === 1 && u.inclusive) {
8712
8712
  const b = (u.origin === "set", "לפחות פריט אחד");
8713
- return `קטן מדי: ${d} ${v} להכיל ${b}`;
8713
+ return `קטן מדי: ${d} ${g} להכיל ${b}`;
8714
8714
  }
8715
8715
  const y = u.inclusive ? `${u.minimum} ${l?.unit ?? ""} או יותר` : `יותר מ-${u.minimum} ${l?.unit ?? ""}`;
8716
- return `קטן מדי: ${d} ${v} להכיל ${y}`.trim();
8716
+ return `קטן מדי: ${d} ${g} להכיל ${y}`.trim();
8717
8717
  }
8718
8718
  const f = u.inclusive ? ">=" : ">", m = o(u.origin ?? "value");
8719
8719
  return l?.unit ? `${l.shortLabel} מדי: ${d} ${m} ${f}${u.minimum.toString()} ${l.unit}` : `${l?.shortLabel ?? "קטן"} מדי: ${d} ${m} ${f}${u.minimum.toString()}`;
@@ -8728,13 +8728,13 @@ const B_ = () => {
8728
8728
  return `המחרוזת חייבת לכלול "${l.includes}"`;
8729
8729
  if (l.format === "regex")
8730
8730
  return `המחרוזת חייבת להתאים לתבנית ${l.pattern}`;
8731
- const d = s[l.format], f = d?.label ?? l.format, v = (d?.gender ?? "m") === "f" ? "תקינה" : "תקין";
8732
- return `${f} לא ${v}`;
8731
+ const d = s[l.format], f = d?.label ?? l.format, g = (d?.gender ?? "m") === "f" ? "תקינה" : "תקין";
8732
+ return `${f} לא ${g}`;
8733
8733
  }
8734
8734
  case "not_multiple_of":
8735
8735
  return `מספר לא תקין: חייב להיות מכפלה של ${u.divisor}`;
8736
8736
  case "unrecognized_keys":
8737
- return `מפתח${u.keys.length > 1 ? "ות" : ""} לא מזוה${u.keys.length > 1 ? "ים" : "ה"}: ${w(u.keys, ", ")}`;
8737
+ return `מפתח${u.keys.length > 1 ? "ות" : ""} לא מזוה${u.keys.length > 1 ? "ים" : "ה"}: ${k(u.keys, ", ")}`;
8738
8738
  case "invalid_key":
8739
8739
  return "שדה לא תקין באובייקט";
8740
8740
  case "invalid_union":
@@ -8814,7 +8814,7 @@ const J_ = () => {
8814
8814
  return /^[A-Z]/.test(n.expected) ? `Neispravan unos: očekuje se instanceof ${n.expected}, a primljeno je ${s}` : `Neispravan unos: očekuje se ${o}, a primljeno je ${s}`;
8815
8815
  }
8816
8816
  case "invalid_value":
8817
- return n.values.length === 1 ? `Neispravna vrijednost: očekivano ${E(n.values[0])}` : `Neispravna opcija: očekivano jedno od ${w(n.values, "|")}`;
8817
+ return n.values.length === 1 ? `Neispravna vrijednost: očekivano ${E(n.values[0])}` : `Neispravna opcija: očekivano jedno od ${k(n.values, "|")}`;
8818
8818
  case "too_big": {
8819
8819
  const o = n.inclusive ? "<=" : "<", a = t(n.origin), s = i[n.origin] ?? n.origin;
8820
8820
  return a ? `Preveliko: očekivano da ${s ?? "vrijednost"} ima ${o}${n.maximum.toString()} ${a.unit ?? "elemenata"}` : `Preveliko: očekivano da ${s ?? "vrijednost"} bude ${o}${n.maximum.toString()}`;
@@ -8830,7 +8830,7 @@ const J_ = () => {
8830
8830
  case "not_multiple_of":
8831
8831
  return `Neispravan broj: mora biti višekratnik od ${n.divisor}`;
8832
8832
  case "unrecognized_keys":
8833
- return `Neprepoznat${n.keys.length > 1 ? "i ključevi" : " ključ"}: ${w(n.keys, ", ")}`;
8833
+ return `Neprepoznat${n.keys.length > 1 ? "i ključevi" : " ključ"}: ${k(n.keys, ", ")}`;
8834
8834
  case "invalid_key":
8835
8835
  return `Neispravan ključ u ${i[n.origin] ?? n.origin}`;
8836
8836
  case "invalid_union":
@@ -8898,7 +8898,7 @@ const K_ = () => {
8898
8898
  return /^[A-Z]/.test(n.expected) ? `Érvénytelen bemenet: a várt érték instanceof ${n.expected}, a kapott érték ${s}` : `Érvénytelen bemenet: a várt érték ${o}, a kapott érték ${s}`;
8899
8899
  }
8900
8900
  case "invalid_value":
8901
- return n.values.length === 1 ? `Érvénytelen bemenet: a várt érték ${E(n.values[0])}` : `Érvénytelen opció: valamelyik érték várt ${w(n.values, "|")}`;
8901
+ return n.values.length === 1 ? `Érvénytelen bemenet: a várt érték ${E(n.values[0])}` : `Érvénytelen opció: valamelyik érték várt ${k(n.values, "|")}`;
8902
8902
  case "too_big": {
8903
8903
  const o = n.inclusive ? "<=" : "<", a = t(n.origin);
8904
8904
  return a ? `Túl nagy: ${n.origin ?? "érték"} mérete túl nagy ${o}${n.maximum.toString()} ${a.unit ?? "elem"}` : `Túl nagy: a bemeneti érték ${n.origin ?? "érték"} túl nagy: ${o}${n.maximum.toString()}`;
@@ -8914,7 +8914,7 @@ const K_ = () => {
8914
8914
  case "not_multiple_of":
8915
8915
  return `Érvénytelen szám: ${n.divisor} többszörösének kell lennie`;
8916
8916
  case "unrecognized_keys":
8917
- return `Ismeretlen kulcs${n.keys.length > 1 ? "s" : ""}: ${w(n.keys, ", ")}`;
8917
+ return `Ismeretlen kulcs${n.keys.length > 1 ? "s" : ""}: ${k(n.keys, ", ")}`;
8918
8918
  case "invalid_key":
8919
8919
  return `Érvénytelen kulcs ${n.origin}`;
8920
8920
  case "invalid_union":
@@ -9015,7 +9015,7 @@ const H_ = () => {
9015
9015
  return /^[A-Z]/.test(n.expected) ? `Սխալ մուտքագրում․ սպասվում էր instanceof ${n.expected}, ստացվել է ${s}` : `Սխալ մուտքագրում․ սպասվում էր ${o}, ստացվել է ${s}`;
9016
9016
  }
9017
9017
  case "invalid_value":
9018
- return n.values.length === 1 ? `Սխալ մուտքագրում․ սպասվում էր ${E(n.values[1])}` : `Սխալ տարբերակ․ սպասվում էր հետևյալներից մեկը՝ ${w(n.values, "|")}`;
9018
+ return n.values.length === 1 ? `Սխալ մուտքագրում․ սպասվում էր ${E(n.values[1])}` : `Սխալ տարբերակ․ սպասվում էր հետևյալներից մեկը՝ ${k(n.values, "|")}`;
9019
9019
  case "too_big": {
9020
9020
  const o = n.inclusive ? "<=" : "<", a = t(n.origin);
9021
9021
  if (a) {
@@ -9039,7 +9039,7 @@ const H_ = () => {
9039
9039
  case "not_multiple_of":
9040
9040
  return `Սխալ թիվ․ պետք է բազմապատիկ լինի ${n.divisor}-ի`;
9041
9041
  case "unrecognized_keys":
9042
- return `Չճանաչված բանալի${n.keys.length > 1 ? "ներ" : ""}. ${w(n.keys, ", ")}`;
9042
+ return `Չճանաչված բանալի${n.keys.length > 1 ? "ներ" : ""}. ${k(n.keys, ", ")}`;
9043
9043
  case "invalid_key":
9044
9044
  return `Սխալ բանալի ${vt(n.origin)}-ում`;
9045
9045
  case "invalid_union":
@@ -9105,7 +9105,7 @@ const Q_ = () => {
9105
9105
  return /^[A-Z]/.test(n.expected) ? `Input tidak valid: diharapkan instanceof ${n.expected}, diterima ${s}` : `Input tidak valid: diharapkan ${o}, diterima ${s}`;
9106
9106
  }
9107
9107
  case "invalid_value":
9108
- return n.values.length === 1 ? `Input tidak valid: diharapkan ${E(n.values[0])}` : `Pilihan tidak valid: diharapkan salah satu dari ${w(n.values, "|")}`;
9108
+ return n.values.length === 1 ? `Input tidak valid: diharapkan ${E(n.values[0])}` : `Pilihan tidak valid: diharapkan salah satu dari ${k(n.values, "|")}`;
9109
9109
  case "too_big": {
9110
9110
  const o = n.inclusive ? "<=" : "<", a = t(n.origin);
9111
9111
  return a ? `Terlalu besar: diharapkan ${n.origin ?? "value"} memiliki ${o}${n.maximum.toString()} ${a.unit ?? "elemen"}` : `Terlalu besar: diharapkan ${n.origin ?? "value"} menjadi ${o}${n.maximum.toString()}`;
@@ -9121,7 +9121,7 @@ const Q_ = () => {
9121
9121
  case "not_multiple_of":
9122
9122
  return `Angka tidak valid: harus kelipatan dari ${n.divisor}`;
9123
9123
  case "unrecognized_keys":
9124
- return `Kunci tidak dikenali ${n.keys.length > 1 ? "s" : ""}: ${w(n.keys, ", ")}`;
9124
+ return `Kunci tidak dikenali ${n.keys.length > 1 ? "s" : ""}: ${k(n.keys, ", ")}`;
9125
9125
  case "invalid_key":
9126
9126
  return `Kunci tidak valid di ${n.origin}`;
9127
9127
  case "invalid_union":
@@ -9189,7 +9189,7 @@ const X_ = () => {
9189
9189
  return /^[A-Z]/.test(n.expected) ? `Rangt gildi: Þú slóst inn ${s} þar sem á að vera instanceof ${n.expected}` : `Rangt gildi: Þú slóst inn ${s} þar sem á að vera ${o}`;
9190
9190
  }
9191
9191
  case "invalid_value":
9192
- return n.values.length === 1 ? `Rangt gildi: gert ráð fyrir ${E(n.values[0])}` : `Ógilt val: má vera eitt af eftirfarandi ${w(n.values, "|")}`;
9192
+ return n.values.length === 1 ? `Rangt gildi: gert ráð fyrir ${E(n.values[0])}` : `Ógilt val: má vera eitt af eftirfarandi ${k(n.values, "|")}`;
9193
9193
  case "too_big": {
9194
9194
  const o = n.inclusive ? "<=" : "<", a = t(n.origin);
9195
9195
  return a ? `Of stórt: gert er ráð fyrir að ${n.origin ?? "gildi"} hafi ${o}${n.maximum.toString()} ${a.unit ?? "hluti"}` : `Of stórt: gert er ráð fyrir að ${n.origin ?? "gildi"} sé ${o}${n.maximum.toString()}`;
@@ -9205,7 +9205,7 @@ const X_ = () => {
9205
9205
  case "not_multiple_of":
9206
9206
  return `Röng tala: verður að vera margfeldi af ${n.divisor}`;
9207
9207
  case "unrecognized_keys":
9208
- return `Óþekkt ${n.keys.length > 1 ? "ir lyklar" : "ur lykill"}: ${w(n.keys, ", ")}`;
9208
+ return `Óþekkt ${n.keys.length > 1 ? "ir lyklar" : "ur lykill"}: ${k(n.keys, ", ")}`;
9209
9209
  case "invalid_key":
9210
9210
  return `Rangur lykill í ${n.origin}`;
9211
9211
  case "invalid_union":
@@ -9273,7 +9273,7 @@ const tb = () => {
9273
9273
  return /^[A-Z]/.test(n.expected) ? `Input non valido: atteso instanceof ${n.expected}, ricevuto ${s}` : `Input non valido: atteso ${o}, ricevuto ${s}`;
9274
9274
  }
9275
9275
  case "invalid_value":
9276
- return n.values.length === 1 ? `Input non valido: atteso ${E(n.values[0])}` : `Opzione non valida: atteso uno tra ${w(n.values, "|")}`;
9276
+ return n.values.length === 1 ? `Input non valido: atteso ${E(n.values[0])}` : `Opzione non valida: atteso uno tra ${k(n.values, "|")}`;
9277
9277
  case "too_big": {
9278
9278
  const o = n.inclusive ? "<=" : "<", a = t(n.origin);
9279
9279
  return a ? `Troppo grande: ${n.origin ?? "valore"} deve avere ${o}${n.maximum.toString()} ${a.unit ?? "elementi"}` : `Troppo grande: ${n.origin ?? "valore"} deve essere ${o}${n.maximum.toString()}`;
@@ -9289,7 +9289,7 @@ const tb = () => {
9289
9289
  case "not_multiple_of":
9290
9290
  return `Numero non valido: deve essere un multiplo di ${n.divisor}`;
9291
9291
  case "unrecognized_keys":
9292
- return `Chiav${n.keys.length > 1 ? "i" : "e"} non riconosciut${n.keys.length > 1 ? "e" : "a"}: ${w(n.keys, ", ")}`;
9292
+ return `Chiav${n.keys.length > 1 ? "i" : "e"} non riconosciut${n.keys.length > 1 ? "e" : "a"}: ${k(n.keys, ", ")}`;
9293
9293
  case "invalid_key":
9294
9294
  return `Chiave non valida in ${n.origin}`;
9295
9295
  case "invalid_union":
@@ -9357,7 +9357,7 @@ const rb = () => {
9357
9357
  return /^[A-Z]/.test(n.expected) ? `無効な入力: instanceof ${n.expected}が期待されましたが、${s}が入力されました` : `無効な入力: ${o}が期待されましたが、${s}が入力されました`;
9358
9358
  }
9359
9359
  case "invalid_value":
9360
- return n.values.length === 1 ? `無効な入力: ${E(n.values[0])}が期待されました` : `無効な選択: ${w(n.values, "、")}のいずれかである必要があります`;
9360
+ return n.values.length === 1 ? `無効な入力: ${E(n.values[0])}が期待されました` : `無効な選択: ${k(n.values, "、")}のいずれかである必要があります`;
9361
9361
  case "too_big": {
9362
9362
  const o = n.inclusive ? "以下である" : "より小さい", a = t(n.origin);
9363
9363
  return a ? `大きすぎる値: ${n.origin ?? "値"}は${n.maximum.toString()}${a.unit ?? "要素"}${o}必要があります` : `大きすぎる値: ${n.origin ?? "値"}は${n.maximum.toString()}${o}必要があります`;
@@ -9373,7 +9373,7 @@ const rb = () => {
9373
9373
  case "not_multiple_of":
9374
9374
  return `無効な数値: ${n.divisor}の倍数である必要があります`;
9375
9375
  case "unrecognized_keys":
9376
- return `認識されていないキー${n.keys.length > 1 ? "群" : ""}: ${w(n.keys, "、")}`;
9376
+ return `認識されていないキー${n.keys.length > 1 ? "群" : ""}: ${k(n.keys, "、")}`;
9377
9377
  case "invalid_key":
9378
9378
  return `${n.origin}内の無効なキー`;
9379
9379
  case "invalid_union":
@@ -9444,7 +9444,7 @@ const ob = () => {
9444
9444
  return /^[A-Z]/.test(n.expected) ? `არასწორი შეყვანა: მოსალოდნელი instanceof ${n.expected}, მიღებული ${s}` : `არასწორი შეყვანა: მოსალოდნელი ${o}, მიღებული ${s}`;
9445
9445
  }
9446
9446
  case "invalid_value":
9447
- return n.values.length === 1 ? `არასწორი შეყვანა: მოსალოდნელი ${E(n.values[0])}` : `არასწორი ვარიანტი: მოსალოდნელია ერთ-ერთი ${w(n.values, "|")}-დან`;
9447
+ return n.values.length === 1 ? `არასწორი შეყვანა: მოსალოდნელი ${E(n.values[0])}` : `არასწორი ვარიანტი: მოსალოდნელია ერთ-ერთი ${k(n.values, "|")}-დან`;
9448
9448
  case "too_big": {
9449
9449
  const o = n.inclusive ? "<=" : "<", a = t(n.origin);
9450
9450
  return a ? `ზედმეტად დიდი: მოსალოდნელი ${n.origin ?? "მნიშვნელობა"} ${a.verb} ${o}${n.maximum.toString()} ${a.unit}` : `ზედმეტად დიდი: მოსალოდნელი ${n.origin ?? "მნიშვნელობა"} იყოს ${o}${n.maximum.toString()}`;
@@ -9460,7 +9460,7 @@ const ob = () => {
9460
9460
  case "not_multiple_of":
9461
9461
  return `არასწორი რიცხვი: უნდა იყოს ${n.divisor}-ის ჯერადი`;
9462
9462
  case "unrecognized_keys":
9463
- return `უცნობი გასაღებ${n.keys.length > 1 ? "ები" : "ი"}: ${w(n.keys, ", ")}`;
9463
+ return `უცნობი გასაღებ${n.keys.length > 1 ? "ები" : "ი"}: ${k(n.keys, ", ")}`;
9464
9464
  case "invalid_key":
9465
9465
  return `არასწორი გასაღები ${n.origin}-ში`;
9466
9466
  case "invalid_union":
@@ -9529,7 +9529,7 @@ const sb = () => {
9529
9529
  return /^[A-Z]/.test(n.expected) ? `ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ instanceof ${n.expected} ប៉ុន្តែទទួលបាន ${s}` : `ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ ${o} ប៉ុន្តែទទួលបាន ${s}`;
9530
9530
  }
9531
9531
  case "invalid_value":
9532
- return n.values.length === 1 ? `ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ ${E(n.values[0])}` : `ជម្រើសមិនត្រឹមត្រូវ៖ ត្រូវជាមួយក្នុងចំណោម ${w(n.values, "|")}`;
9532
+ return n.values.length === 1 ? `ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ ${E(n.values[0])}` : `ជម្រើសមិនត្រឹមត្រូវ៖ ត្រូវជាមួយក្នុងចំណោម ${k(n.values, "|")}`;
9533
9533
  case "too_big": {
9534
9534
  const o = n.inclusive ? "<=" : "<", a = t(n.origin);
9535
9535
  return a ? `ធំពេក៖ ត្រូវការ ${n.origin ?? "តម្លៃ"} ${o} ${n.maximum.toString()} ${a.unit ?? "ធាតុ"}` : `ធំពេក៖ ត្រូវការ ${n.origin ?? "តម្លៃ"} ${o} ${n.maximum.toString()}`;
@@ -9545,7 +9545,7 @@ const sb = () => {
9545
9545
  case "not_multiple_of":
9546
9546
  return `លេខមិនត្រឹមត្រូវ៖ ត្រូវតែជាពហុគុណនៃ ${n.divisor}`;
9547
9547
  case "unrecognized_keys":
9548
- return `រកឃើញសោមិនស្គាល់៖ ${w(n.keys, ", ")}`;
9548
+ return `រកឃើញសោមិនស្គាល់៖ ${k(n.keys, ", ")}`;
9549
9549
  case "invalid_key":
9550
9550
  return `សោមិនត្រឹមត្រូវនៅក្នុង ${n.origin}`;
9551
9551
  case "invalid_union":
@@ -9614,7 +9614,7 @@ const ub = () => {
9614
9614
  return /^[A-Z]/.test(n.expected) ? `잘못된 입력: 예상 타입은 instanceof ${n.expected}, 받은 타입은 ${s}입니다` : `잘못된 입력: 예상 타입은 ${o}, 받은 타입은 ${s}입니다`;
9615
9615
  }
9616
9616
  case "invalid_value":
9617
- return n.values.length === 1 ? `잘못된 입력: 값은 ${E(n.values[0])} 이어야 합니다` : `잘못된 옵션: ${w(n.values, "또는 ")} 중 하나여야 합니다`;
9617
+ return n.values.length === 1 ? `잘못된 입력: 값은 ${E(n.values[0])} 이어야 합니다` : `잘못된 옵션: ${k(n.values, "또는 ")} 중 하나여야 합니다`;
9618
9618
  case "too_big": {
9619
9619
  const o = n.inclusive ? "이하" : "미만", a = o === "미만" ? "이어야 합니다" : "여야 합니다", s = t(n.origin), c = s?.unit ?? "요소";
9620
9620
  return s ? `${n.origin ?? "값"}이 너무 큽니다: ${n.maximum.toString()}${c} ${o}${a}` : `${n.origin ?? "값"}이 너무 큽니다: ${n.maximum.toString()} ${o}${a}`;
@@ -9630,7 +9630,7 @@ const ub = () => {
9630
9630
  case "not_multiple_of":
9631
9631
  return `잘못된 숫자: ${n.divisor}의 배수여야 합니다`;
9632
9632
  case "unrecognized_keys":
9633
- return `인식할 수 없는 키: ${w(n.keys, ", ")}`;
9633
+ return `인식할 수 없는 키: ${k(n.keys, ", ")}`;
9634
9634
  case "invalid_key":
9635
9635
  return `잘못된 키: ${n.origin}`;
9636
9636
  case "invalid_union":
@@ -9779,7 +9779,7 @@ const db = () => {
9779
9779
  return /^[A-Z]/.test(n.expected) ? `Gautas tipas ${s}, o tikėtasi - instanceof ${n.expected}` : `Gautas tipas ${s}, o tikėtasi - ${o}`;
9780
9780
  }
9781
9781
  case "invalid_value":
9782
- return n.values.length === 1 ? `Privalo būti ${E(n.values[0])}` : `Privalo būti vienas iš ${w(n.values, "|")} pasirinkimų`;
9782
+ return n.values.length === 1 ? `Privalo būti ${E(n.values[0])}` : `Privalo būti vienas iš ${k(n.values, "|")} pasirinkimų`;
9783
9783
  case "too_big": {
9784
9784
  const o = i[n.origin] ?? n.origin, a = t(n.origin, Ys(Number(n.maximum)), n.inclusive ?? !1, "smaller");
9785
9785
  if (a?.verb)
@@ -9801,7 +9801,7 @@ const db = () => {
9801
9801
  case "not_multiple_of":
9802
9802
  return `Skaičius privalo būti ${n.divisor} kartotinis.`;
9803
9803
  case "unrecognized_keys":
9804
- return `Neatpažint${n.keys.length > 1 ? "i" : "as"} rakt${n.keys.length > 1 ? "ai" : "as"}: ${w(n.keys, ", ")}`;
9804
+ return `Neatpažint${n.keys.length > 1 ? "i" : "as"} rakt${n.keys.length > 1 ? "ai" : "as"}: ${k(n.keys, ", ")}`;
9805
9805
  case "invalid_key":
9806
9806
  return "Rastas klaidingas raktas";
9807
9807
  case "invalid_union":
@@ -9871,7 +9871,7 @@ const mb = () => {
9871
9871
  return /^[A-Z]/.test(n.expected) ? `Грешен внес: се очекува instanceof ${n.expected}, примено ${s}` : `Грешен внес: се очекува ${o}, примено ${s}`;
9872
9872
  }
9873
9873
  case "invalid_value":
9874
- return n.values.length === 1 ? `Invalid input: expected ${E(n.values[0])}` : `Грешана опција: се очекува една ${w(n.values, "|")}`;
9874
+ return n.values.length === 1 ? `Invalid input: expected ${E(n.values[0])}` : `Грешана опција: се очекува една ${k(n.values, "|")}`;
9875
9875
  case "too_big": {
9876
9876
  const o = n.inclusive ? "<=" : "<", a = t(n.origin);
9877
9877
  return a ? `Премногу голем: се очекува ${n.origin ?? "вредноста"} да има ${o}${n.maximum.toString()} ${a.unit ?? "елементи"}` : `Премногу голем: се очекува ${n.origin ?? "вредноста"} да биде ${o}${n.maximum.toString()}`;
@@ -9887,7 +9887,7 @@ const mb = () => {
9887
9887
  case "not_multiple_of":
9888
9888
  return `Грешен број: мора да биде делив со ${n.divisor}`;
9889
9889
  case "unrecognized_keys":
9890
- return `${n.keys.length > 1 ? "Непрепознаени клучеви" : "Непрепознаен клуч"}: ${w(n.keys, ", ")}`;
9890
+ return `${n.keys.length > 1 ? "Непрепознаени клучеви" : "Непрепознаен клуч"}: ${k(n.keys, ", ")}`;
9891
9891
  case "invalid_key":
9892
9892
  return `Грешен клуч во ${n.origin}`;
9893
9893
  case "invalid_union":
@@ -9954,7 +9954,7 @@ const hb = () => {
9954
9954
  return /^[A-Z]/.test(n.expected) ? `Input tidak sah: dijangka instanceof ${n.expected}, diterima ${s}` : `Input tidak sah: dijangka ${o}, diterima ${s}`;
9955
9955
  }
9956
9956
  case "invalid_value":
9957
- return n.values.length === 1 ? `Input tidak sah: dijangka ${E(n.values[0])}` : `Pilihan tidak sah: dijangka salah satu daripada ${w(n.values, "|")}`;
9957
+ return n.values.length === 1 ? `Input tidak sah: dijangka ${E(n.values[0])}` : `Pilihan tidak sah: dijangka salah satu daripada ${k(n.values, "|")}`;
9958
9958
  case "too_big": {
9959
9959
  const o = n.inclusive ? "<=" : "<", a = t(n.origin);
9960
9960
  return a ? `Terlalu besar: dijangka ${n.origin ?? "nilai"} ${a.verb} ${o}${n.maximum.toString()} ${a.unit ?? "elemen"}` : `Terlalu besar: dijangka ${n.origin ?? "nilai"} adalah ${o}${n.maximum.toString()}`;
@@ -9970,7 +9970,7 @@ const hb = () => {
9970
9970
  case "not_multiple_of":
9971
9971
  return `Nombor tidak sah: perlu gandaan ${n.divisor}`;
9972
9972
  case "unrecognized_keys":
9973
- return `Kunci tidak dikenali: ${w(n.keys, ", ")}`;
9973
+ return `Kunci tidak dikenali: ${k(n.keys, ", ")}`;
9974
9974
  case "invalid_key":
9975
9975
  return `Kunci tidak sah dalam ${n.origin}`;
9976
9976
  case "invalid_union":
@@ -10037,7 +10037,7 @@ const vb = () => {
10037
10037
  return /^[A-Z]/.test(n.expected) ? `Ongeldige invoer: verwacht instanceof ${n.expected}, ontving ${s}` : `Ongeldige invoer: verwacht ${o}, ontving ${s}`;
10038
10038
  }
10039
10039
  case "invalid_value":
10040
- return n.values.length === 1 ? `Ongeldige invoer: verwacht ${E(n.values[0])}` : `Ongeldige optie: verwacht één van ${w(n.values, "|")}`;
10040
+ return n.values.length === 1 ? `Ongeldige invoer: verwacht ${E(n.values[0])}` : `Ongeldige optie: verwacht één van ${k(n.values, "|")}`;
10041
10041
  case "too_big": {
10042
10042
  const o = n.inclusive ? "<=" : "<", a = t(n.origin), s = n.origin === "date" ? "laat" : n.origin === "string" ? "lang" : "groot";
10043
10043
  return a ? `Te ${s}: verwacht dat ${n.origin ?? "waarde"} ${o}${n.maximum.toString()} ${a.unit ?? "elementen"} ${a.verb}` : `Te ${s}: verwacht dat ${n.origin ?? "waarde"} ${o}${n.maximum.toString()} is`;
@@ -10053,7 +10053,7 @@ const vb = () => {
10053
10053
  case "not_multiple_of":
10054
10054
  return `Ongeldig getal: moet een veelvoud van ${n.divisor} zijn`;
10055
10055
  case "unrecognized_keys":
10056
- return `Onbekende key${n.keys.length > 1 ? "s" : ""}: ${w(n.keys, ", ")}`;
10056
+ return `Onbekende key${n.keys.length > 1 ? "s" : ""}: ${k(n.keys, ", ")}`;
10057
10057
  case "invalid_key":
10058
10058
  return `Ongeldige key in ${n.origin}`;
10059
10059
  case "invalid_union":
@@ -10121,7 +10121,7 @@ const _b = () => {
10121
10121
  return /^[A-Z]/.test(n.expected) ? `Ugyldig input: forventet instanceof ${n.expected}, fikk ${s}` : `Ugyldig input: forventet ${o}, fikk ${s}`;
10122
10122
  }
10123
10123
  case "invalid_value":
10124
- return n.values.length === 1 ? `Ugyldig verdi: forventet ${E(n.values[0])}` : `Ugyldig valg: forventet en av ${w(n.values, "|")}`;
10124
+ return n.values.length === 1 ? `Ugyldig verdi: forventet ${E(n.values[0])}` : `Ugyldig valg: forventet en av ${k(n.values, "|")}`;
10125
10125
  case "too_big": {
10126
10126
  const o = n.inclusive ? "<=" : "<", a = t(n.origin);
10127
10127
  return a ? `For stor(t): forventet ${n.origin ?? "value"} til å ha ${o}${n.maximum.toString()} ${a.unit ?? "elementer"}` : `For stor(t): forventet ${n.origin ?? "value"} til å ha ${o}${n.maximum.toString()}`;
@@ -10137,7 +10137,7 @@ const _b = () => {
10137
10137
  case "not_multiple_of":
10138
10138
  return `Ugyldig tall: må være et multiplum av ${n.divisor}`;
10139
10139
  case "unrecognized_keys":
10140
- return `${n.keys.length > 1 ? "Ukjente nøkler" : "Ukjent nøkkel"}: ${w(n.keys, ", ")}`;
10140
+ return `${n.keys.length > 1 ? "Ukjente nøkler" : "Ukjent nøkkel"}: ${k(n.keys, ", ")}`;
10141
10141
  case "invalid_key":
10142
10142
  return `Ugyldig nøkkel i ${n.origin}`;
10143
10143
  case "invalid_union":
@@ -10206,7 +10206,7 @@ const $b = () => {
10206
10206
  return /^[A-Z]/.test(n.expected) ? `Fâsit giren: umulan instanceof ${n.expected}, alınan ${s}` : `Fâsit giren: umulan ${o}, alınan ${s}`;
10207
10207
  }
10208
10208
  case "invalid_value":
10209
- return n.values.length === 1 ? `Fâsit giren: umulan ${E(n.values[0])}` : `Fâsit tercih: mûteberler ${w(n.values, "|")}`;
10209
+ return n.values.length === 1 ? `Fâsit giren: umulan ${E(n.values[0])}` : `Fâsit tercih: mûteberler ${k(n.values, "|")}`;
10210
10210
  case "too_big": {
10211
10211
  const o = n.inclusive ? "<=" : "<", a = t(n.origin);
10212
10212
  return a ? `Fazla büyük: ${n.origin ?? "value"}, ${o}${n.maximum.toString()} ${a.unit ?? "elements"} sahip olmalıydı.` : `Fazla büyük: ${n.origin ?? "value"}, ${o}${n.maximum.toString()} olmalıydı.`;
@@ -10222,7 +10222,7 @@ const $b = () => {
10222
10222
  case "not_multiple_of":
10223
10223
  return `Fâsit sayı: ${n.divisor} katı olmalıydı.`;
10224
10224
  case "unrecognized_keys":
10225
- return `Tanınmayan anahtar ${n.keys.length > 1 ? "s" : ""}: ${w(n.keys, ", ")}`;
10225
+ return `Tanınmayan anahtar ${n.keys.length > 1 ? "s" : ""}: ${k(n.keys, ", ")}`;
10226
10226
  case "invalid_key":
10227
10227
  return `${n.origin} için tanınmayan anahtar var.`;
10228
10228
  case "invalid_union":
@@ -10290,7 +10290,7 @@ const kb = () => {
10290
10290
  return /^[A-Z]/.test(n.expected) ? `ناسم ورودي: باید instanceof ${n.expected} وای, مګر ${s} ترلاسه شو` : `ناسم ورودي: باید ${o} وای, مګر ${s} ترلاسه شو`;
10291
10291
  }
10292
10292
  case "invalid_value":
10293
- return n.values.length === 1 ? `ناسم ورودي: باید ${E(n.values[0])} وای` : `ناسم انتخاب: باید یو له ${w(n.values, "|")} څخه وای`;
10293
+ return n.values.length === 1 ? `ناسم ورودي: باید ${E(n.values[0])} وای` : `ناسم انتخاب: باید یو له ${k(n.values, "|")} څخه وای`;
10294
10294
  case "too_big": {
10295
10295
  const o = n.inclusive ? "<=" : "<", a = t(n.origin);
10296
10296
  return a ? `ډیر لوی: ${n.origin ?? "ارزښت"} باید ${o}${n.maximum.toString()} ${a.unit ?? "عنصرونه"} ولري` : `ډیر لوی: ${n.origin ?? "ارزښت"} باید ${o}${n.maximum.toString()} وي`;
@@ -10306,7 +10306,7 @@ const kb = () => {
10306
10306
  case "not_multiple_of":
10307
10307
  return `ناسم عدد: باید د ${n.divisor} مضرب وي`;
10308
10308
  case "unrecognized_keys":
10309
- return `ناسم ${n.keys.length > 1 ? "کلیډونه" : "کلیډ"}: ${w(n.keys, ", ")}`;
10309
+ return `ناسم ${n.keys.length > 1 ? "کلیډونه" : "کلیډ"}: ${k(n.keys, ", ")}`;
10310
10310
  case "invalid_key":
10311
10311
  return `ناسم کلیډ په ${n.origin} کې`;
10312
10312
  case "invalid_union":
@@ -10374,7 +10374,7 @@ const Ib = () => {
10374
10374
  return /^[A-Z]/.test(n.expected) ? `Nieprawidłowe dane wejściowe: oczekiwano instanceof ${n.expected}, otrzymano ${s}` : `Nieprawidłowe dane wejściowe: oczekiwano ${o}, otrzymano ${s}`;
10375
10375
  }
10376
10376
  case "invalid_value":
10377
- return n.values.length === 1 ? `Nieprawidłowe dane wejściowe: oczekiwano ${E(n.values[0])}` : `Nieprawidłowa opcja: oczekiwano jednej z wartości ${w(n.values, "|")}`;
10377
+ return n.values.length === 1 ? `Nieprawidłowe dane wejściowe: oczekiwano ${E(n.values[0])}` : `Nieprawidłowa opcja: oczekiwano jednej z wartości ${k(n.values, "|")}`;
10378
10378
  case "too_big": {
10379
10379
  const o = n.inclusive ? "<=" : "<", a = t(n.origin);
10380
10380
  return a ? `Za duża wartość: oczekiwano, że ${n.origin ?? "wartość"} będzie mieć ${o}${n.maximum.toString()} ${a.unit ?? "elementów"}` : `Zbyt duż(y/a/e): oczekiwano, że ${n.origin ?? "wartość"} będzie wynosić ${o}${n.maximum.toString()}`;
@@ -10390,7 +10390,7 @@ const Ib = () => {
10390
10390
  case "not_multiple_of":
10391
10391
  return `Nieprawidłowa liczba: musi być wielokrotnością ${n.divisor}`;
10392
10392
  case "unrecognized_keys":
10393
- return `Nierozpoznane klucze${n.keys.length > 1 ? "s" : ""}: ${w(n.keys, ", ")}`;
10393
+ return `Nierozpoznane klucze${n.keys.length > 1 ? "s" : ""}: ${k(n.keys, ", ")}`;
10394
10394
  case "invalid_key":
10395
10395
  return `Nieprawidłowy klucz w ${n.origin}`;
10396
10396
  case "invalid_union":
@@ -10458,7 +10458,7 @@ const Ob = () => {
10458
10458
  return /^[A-Z]/.test(n.expected) ? `Tipo inválido: esperado instanceof ${n.expected}, recebido ${s}` : `Tipo inválido: esperado ${o}, recebido ${s}`;
10459
10459
  }
10460
10460
  case "invalid_value":
10461
- return n.values.length === 1 ? `Entrada inválida: esperado ${E(n.values[0])}` : `Opção inválida: esperada uma das ${w(n.values, "|")}`;
10461
+ return n.values.length === 1 ? `Entrada inválida: esperado ${E(n.values[0])}` : `Opção inválida: esperada uma das ${k(n.values, "|")}`;
10462
10462
  case "too_big": {
10463
10463
  const o = n.inclusive ? "<=" : "<", a = t(n.origin);
10464
10464
  return a ? `Muito grande: esperado que ${n.origin ?? "valor"} tivesse ${o}${n.maximum.toString()} ${a.unit ?? "elementos"}` : `Muito grande: esperado que ${n.origin ?? "valor"} fosse ${o}${n.maximum.toString()}`;
@@ -10474,7 +10474,7 @@ const Ob = () => {
10474
10474
  case "not_multiple_of":
10475
10475
  return `Número inválido: deve ser múltiplo de ${n.divisor}`;
10476
10476
  case "unrecognized_keys":
10477
- return `Chave${n.keys.length > 1 ? "s" : ""} desconhecida${n.keys.length > 1 ? "s" : ""}: ${w(n.keys, ", ")}`;
10477
+ return `Chave${n.keys.length > 1 ? "s" : ""} desconhecida${n.keys.length > 1 ? "s" : ""}: ${k(n.keys, ", ")}`;
10478
10478
  case "invalid_key":
10479
10479
  return `Chave inválida em ${n.origin}`;
10480
10480
  case "invalid_union":
@@ -10555,7 +10555,7 @@ const Eb = () => {
10555
10555
  return `Intrare invalidă: așteptat ${o}, primit ${s}`;
10556
10556
  }
10557
10557
  case "invalid_value":
10558
- return n.values.length === 1 ? `Intrare invalidă: așteptat ${E(n.values[0])}` : `Opțiune invalidă: așteptat una dintre ${w(n.values, "|")}`;
10558
+ return n.values.length === 1 ? `Intrare invalidă: așteptat ${E(n.values[0])}` : `Opțiune invalidă: așteptat una dintre ${k(n.values, "|")}`;
10559
10559
  case "too_big": {
10560
10560
  const o = n.inclusive ? "<=" : "<", a = t(n.origin);
10561
10561
  return a ? `Prea mare: așteptat ca ${n.origin ?? "valoarea"} ${a.verb} ${o}${n.maximum.toString()} ${a.unit ?? "elemente"}` : `Prea mare: așteptat ca ${n.origin ?? "valoarea"} să fie ${o}${n.maximum.toString()}`;
@@ -10571,7 +10571,7 @@ const Eb = () => {
10571
10571
  case "not_multiple_of":
10572
10572
  return `Număr invalid: trebuie să fie multiplu de ${n.divisor}`;
10573
10573
  case "unrecognized_keys":
10574
- return `Chei nerecunoscute: ${w(n.keys, ", ")}`;
10574
+ return `Chei nerecunoscute: ${k(n.keys, ", ")}`;
10575
10575
  case "invalid_key":
10576
10576
  return `Cheie invalidă în ${n.origin}`;
10577
10577
  case "invalid_union":
@@ -10671,7 +10671,7 @@ const Db = () => {
10671
10671
  return /^[A-Z]/.test(n.expected) ? `Неверный ввод: ожидалось instanceof ${n.expected}, получено ${s}` : `Неверный ввод: ожидалось ${o}, получено ${s}`;
10672
10672
  }
10673
10673
  case "invalid_value":
10674
- return n.values.length === 1 ? `Неверный ввод: ожидалось ${E(n.values[0])}` : `Неверный вариант: ожидалось одно из ${w(n.values, "|")}`;
10674
+ return n.values.length === 1 ? `Неверный ввод: ожидалось ${E(n.values[0])}` : `Неверный вариант: ожидалось одно из ${k(n.values, "|")}`;
10675
10675
  case "too_big": {
10676
10676
  const o = n.inclusive ? "<=" : "<", a = t(n.origin);
10677
10677
  if (a) {
@@ -10695,7 +10695,7 @@ const Db = () => {
10695
10695
  case "not_multiple_of":
10696
10696
  return `Неверное число: должно быть кратным ${n.divisor}`;
10697
10697
  case "unrecognized_keys":
10698
- return `Нераспознанн${n.keys.length > 1 ? "ые" : "ый"} ключ${n.keys.length > 1 ? "и" : ""}: ${w(n.keys, ", ")}`;
10698
+ return `Нераспознанн${n.keys.length > 1 ? "ые" : "ый"} ключ${n.keys.length > 1 ? "и" : ""}: ${k(n.keys, ", ")}`;
10699
10699
  case "invalid_key":
10700
10700
  return `Неверный ключ в ${n.origin}`;
10701
10701
  case "invalid_union":
@@ -10763,7 +10763,7 @@ const jb = () => {
10763
10763
  return /^[A-Z]/.test(n.expected) ? `Neveljaven vnos: pričakovano instanceof ${n.expected}, prejeto ${s}` : `Neveljaven vnos: pričakovano ${o}, prejeto ${s}`;
10764
10764
  }
10765
10765
  case "invalid_value":
10766
- return n.values.length === 1 ? `Neveljaven vnos: pričakovano ${E(n.values[0])}` : `Neveljavna možnost: pričakovano eno izmed ${w(n.values, "|")}`;
10766
+ return n.values.length === 1 ? `Neveljaven vnos: pričakovano ${E(n.values[0])}` : `Neveljavna možnost: pričakovano eno izmed ${k(n.values, "|")}`;
10767
10767
  case "too_big": {
10768
10768
  const o = n.inclusive ? "<=" : "<", a = t(n.origin);
10769
10769
  return a ? `Preveliko: pričakovano, da bo ${n.origin ?? "vrednost"} imelo ${o}${n.maximum.toString()} ${a.unit ?? "elementov"}` : `Preveliko: pričakovano, da bo ${n.origin ?? "vrednost"} ${o}${n.maximum.toString()}`;
@@ -10779,7 +10779,7 @@ const jb = () => {
10779
10779
  case "not_multiple_of":
10780
10780
  return `Neveljavno število: mora biti večkratnik ${n.divisor}`;
10781
10781
  case "unrecognized_keys":
10782
- return `Neprepoznan${n.keys.length > 1 ? "i ključi" : " ključ"}: ${w(n.keys, ", ")}`;
10782
+ return `Neprepoznan${n.keys.length > 1 ? "i ključi" : " ključ"}: ${k(n.keys, ", ")}`;
10783
10783
  case "invalid_key":
10784
10784
  return `Neveljaven ključ v ${n.origin}`;
10785
10785
  case "invalid_union":
@@ -10847,7 +10847,7 @@ const Pb = () => {
10847
10847
  return /^[A-Z]/.test(n.expected) ? `Ogiltig inmatning: förväntat instanceof ${n.expected}, fick ${s}` : `Ogiltig inmatning: förväntat ${o}, fick ${s}`;
10848
10848
  }
10849
10849
  case "invalid_value":
10850
- return n.values.length === 1 ? `Ogiltig inmatning: förväntat ${E(n.values[0])}` : `Ogiltigt val: förväntade en av ${w(n.values, "|")}`;
10850
+ return n.values.length === 1 ? `Ogiltig inmatning: förväntat ${E(n.values[0])}` : `Ogiltigt val: förväntade en av ${k(n.values, "|")}`;
10851
10851
  case "too_big": {
10852
10852
  const o = n.inclusive ? "<=" : "<", a = t(n.origin);
10853
10853
  return a ? `För stor(t): förväntade ${n.origin ?? "värdet"} att ha ${o}${n.maximum.toString()} ${a.unit ?? "element"}` : `För stor(t): förväntat ${n.origin ?? "värdet"} att ha ${o}${n.maximum.toString()}`;
@@ -10863,7 +10863,7 @@ const Pb = () => {
10863
10863
  case "not_multiple_of":
10864
10864
  return `Ogiltigt tal: måste vara en multipel av ${n.divisor}`;
10865
10865
  case "unrecognized_keys":
10866
- return `${n.keys.length > 1 ? "Okända nycklar" : "Okänd nyckel"}: ${w(n.keys, ", ")}`;
10866
+ return `${n.keys.length > 1 ? "Okända nycklar" : "Okänd nyckel"}: ${k(n.keys, ", ")}`;
10867
10867
  case "invalid_key":
10868
10868
  return `Ogiltig nyckel i ${n.origin ?? "värdet"}`;
10869
10869
  case "invalid_union":
@@ -10932,7 +10932,7 @@ const Rb = () => {
10932
10932
  return /^[A-Z]/.test(n.expected) ? `தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது instanceof ${n.expected}, பெறப்பட்டது ${s}` : `தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது ${o}, பெறப்பட்டது ${s}`;
10933
10933
  }
10934
10934
  case "invalid_value":
10935
- return n.values.length === 1 ? `தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது ${E(n.values[0])}` : `தவறான விருப்பம்: எதிர்பார்க்கப்பட்டது ${w(n.values, "|")} இல் ஒன்று`;
10935
+ return n.values.length === 1 ? `தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது ${E(n.values[0])}` : `தவறான விருப்பம்: எதிர்பார்க்கப்பட்டது ${k(n.values, "|")} இல் ஒன்று`;
10936
10936
  case "too_big": {
10937
10937
  const o = n.inclusive ? "<=" : "<", a = t(n.origin);
10938
10938
  return a ? `மிக பெரியது: எதிர்பார்க்கப்பட்டது ${n.origin ?? "மதிப்பு"} ${o}${n.maximum.toString()} ${a.unit ?? "உறுப்புகள்"} ஆக இருக்க வேண்டும்` : `மிக பெரியது: எதிர்பார்க்கப்பட்டது ${n.origin ?? "மதிப்பு"} ${o}${n.maximum.toString()} ஆக இருக்க வேண்டும்`;
@@ -10948,7 +10948,7 @@ const Rb = () => {
10948
10948
  case "not_multiple_of":
10949
10949
  return `தவறான எண்: ${n.divisor} இன் பலமாக இருக்க வேண்டும்`;
10950
10950
  case "unrecognized_keys":
10951
- return `அடையாளம் தெரியாத விசை${n.keys.length > 1 ? "கள்" : ""}: ${w(n.keys, ", ")}`;
10951
+ return `அடையாளம் தெரியாத விசை${n.keys.length > 1 ? "கள்" : ""}: ${k(n.keys, ", ")}`;
10952
10952
  case "invalid_key":
10953
10953
  return `${n.origin} இல் தவறான விசை`;
10954
10954
  case "invalid_union":
@@ -11017,7 +11017,7 @@ const Mb = () => {
11017
11017
  return /^[A-Z]/.test(n.expected) ? `ประเภทข้อมูลไม่ถูกต้อง: ควรเป็น instanceof ${n.expected} แต่ได้รับ ${s}` : `ประเภทข้อมูลไม่ถูกต้อง: ควรเป็น ${o} แต่ได้รับ ${s}`;
11018
11018
  }
11019
11019
  case "invalid_value":
11020
- return n.values.length === 1 ? `ค่าไม่ถูกต้อง: ควรเป็น ${E(n.values[0])}` : `ตัวเลือกไม่ถูกต้อง: ควรเป็นหนึ่งใน ${w(n.values, "|")}`;
11020
+ return n.values.length === 1 ? `ค่าไม่ถูกต้อง: ควรเป็น ${E(n.values[0])}` : `ตัวเลือกไม่ถูกต้อง: ควรเป็นหนึ่งใน ${k(n.values, "|")}`;
11021
11021
  case "too_big": {
11022
11022
  const o = n.inclusive ? "ไม่เกิน" : "น้อยกว่า", a = t(n.origin);
11023
11023
  return a ? `เกินกำหนด: ${n.origin ?? "ค่า"} ควรมี${o} ${n.maximum.toString()} ${a.unit ?? "รายการ"}` : `เกินกำหนด: ${n.origin ?? "ค่า"} ควรมี${o} ${n.maximum.toString()}`;
@@ -11033,7 +11033,7 @@ const Mb = () => {
11033
11033
  case "not_multiple_of":
11034
11034
  return `ตัวเลขไม่ถูกต้อง: ต้องเป็นจำนวนที่หารด้วย ${n.divisor} ได้ลงตัว`;
11035
11035
  case "unrecognized_keys":
11036
- return `พบคีย์ที่ไม่รู้จัก: ${w(n.keys, ", ")}`;
11036
+ return `พบคีย์ที่ไม่รู้จัก: ${k(n.keys, ", ")}`;
11037
11037
  case "invalid_key":
11038
11038
  return `คีย์ไม่ถูกต้องใน ${n.origin}`;
11039
11039
  case "invalid_union":
@@ -11099,7 +11099,7 @@ const Zb = () => {
11099
11099
  return /^[A-Z]/.test(n.expected) ? `Geçersiz değer: beklenen instanceof ${n.expected}, alınan ${s}` : `Geçersiz değer: beklenen ${o}, alınan ${s}`;
11100
11100
  }
11101
11101
  case "invalid_value":
11102
- return n.values.length === 1 ? `Geçersiz değer: beklenen ${E(n.values[0])}` : `Geçersiz seçenek: aşağıdakilerden biri olmalı: ${w(n.values, "|")}`;
11102
+ return n.values.length === 1 ? `Geçersiz değer: beklenen ${E(n.values[0])}` : `Geçersiz seçenek: aşağıdakilerden biri olmalı: ${k(n.values, "|")}`;
11103
11103
  case "too_big": {
11104
11104
  const o = n.inclusive ? "<=" : "<", a = t(n.origin);
11105
11105
  return a ? `Çok büyük: beklenen ${n.origin ?? "değer"} ${o}${n.maximum.toString()} ${a.unit ?? "öğe"}` : `Çok büyük: beklenen ${n.origin ?? "değer"} ${o}${n.maximum.toString()}`;
@@ -11115,7 +11115,7 @@ const Zb = () => {
11115
11115
  case "not_multiple_of":
11116
11116
  return `Geçersiz sayı: ${n.divisor} ile tam bölünebilmeli`;
11117
11117
  case "unrecognized_keys":
11118
- return `Tanınmayan anahtar${n.keys.length > 1 ? "lar" : ""}: ${w(n.keys, ", ")}`;
11118
+ return `Tanınmayan anahtar${n.keys.length > 1 ? "lar" : ""}: ${k(n.keys, ", ")}`;
11119
11119
  case "invalid_key":
11120
11120
  return `${n.origin} içinde geçersiz anahtar`;
11121
11121
  case "invalid_union":
@@ -11183,7 +11183,7 @@ const Bb = () => {
11183
11183
  return /^[A-Z]/.test(n.expected) ? `Неправильні вхідні дані: очікується instanceof ${n.expected}, отримано ${s}` : `Неправильні вхідні дані: очікується ${o}, отримано ${s}`;
11184
11184
  }
11185
11185
  case "invalid_value":
11186
- return n.values.length === 1 ? `Неправильні вхідні дані: очікується ${E(n.values[0])}` : `Неправильна опція: очікується одне з ${w(n.values, "|")}`;
11186
+ return n.values.length === 1 ? `Неправильні вхідні дані: очікується ${E(n.values[0])}` : `Неправильна опція: очікується одне з ${k(n.values, "|")}`;
11187
11187
  case "too_big": {
11188
11188
  const o = n.inclusive ? "<=" : "<", a = t(n.origin);
11189
11189
  return a ? `Занадто велике: очікується, що ${n.origin ?? "значення"} ${a.verb} ${o}${n.maximum.toString()} ${a.unit ?? "елементів"}` : `Занадто велике: очікується, що ${n.origin ?? "значення"} буде ${o}${n.maximum.toString()}`;
@@ -11199,7 +11199,7 @@ const Bb = () => {
11199
11199
  case "not_multiple_of":
11200
11200
  return `Неправильне число: повинно бути кратним ${n.divisor}`;
11201
11201
  case "unrecognized_keys":
11202
- return `Нерозпізнаний ключ${n.keys.length > 1 ? "і" : ""}: ${w(n.keys, ", ")}`;
11202
+ return `Нерозпізнаний ключ${n.keys.length > 1 ? "і" : ""}: ${k(n.keys, ", ")}`;
11203
11203
  case "invalid_key":
11204
11204
  return `Неправильний ключ у ${n.origin}`;
11205
11205
  case "invalid_union":
@@ -11271,7 +11271,7 @@ const Jb = () => {
11271
11271
  return /^[A-Z]/.test(n.expected) ? `غلط ان پٹ: instanceof ${n.expected} متوقع تھا، ${s} موصول ہوا` : `غلط ان پٹ: ${o} متوقع تھا، ${s} موصول ہوا`;
11272
11272
  }
11273
11273
  case "invalid_value":
11274
- return n.values.length === 1 ? `غلط ان پٹ: ${E(n.values[0])} متوقع تھا` : `غلط آپشن: ${w(n.values, "|")} میں سے ایک متوقع تھا`;
11274
+ return n.values.length === 1 ? `غلط ان پٹ: ${E(n.values[0])} متوقع تھا` : `غلط آپشن: ${k(n.values, "|")} میں سے ایک متوقع تھا`;
11275
11275
  case "too_big": {
11276
11276
  const o = n.inclusive ? "<=" : "<", a = t(n.origin);
11277
11277
  return a ? `بہت بڑا: ${n.origin ?? "ویلیو"} کے ${o}${n.maximum.toString()} ${a.unit ?? "عناصر"} ہونے متوقع تھے` : `بہت بڑا: ${n.origin ?? "ویلیو"} کا ${o}${n.maximum.toString()} ہونا متوقع تھا`;
@@ -11287,7 +11287,7 @@ const Jb = () => {
11287
11287
  case "not_multiple_of":
11288
11288
  return `غلط نمبر: ${n.divisor} کا مضاعف ہونا چاہیے`;
11289
11289
  case "unrecognized_keys":
11290
- return `غیر تسلیم شدہ کی${n.keys.length > 1 ? "ز" : ""}: ${w(n.keys, "، ")}`;
11290
+ return `غیر تسلیم شدہ کی${n.keys.length > 1 ? "ز" : ""}: ${k(n.keys, "، ")}`;
11291
11291
  case "invalid_key":
11292
11292
  return `${n.origin} میں غلط کی`;
11293
11293
  case "invalid_union":
@@ -11357,7 +11357,7 @@ const Kb = () => {
11357
11357
  return /^[A-Z]/.test(n.expected) ? `Noto‘g‘ri kirish: kutilgan instanceof ${n.expected}, qabul qilingan ${s}` : `Noto‘g‘ri kirish: kutilgan ${o}, qabul qilingan ${s}`;
11358
11358
  }
11359
11359
  case "invalid_value":
11360
- return n.values.length === 1 ? `Noto‘g‘ri kirish: kutilgan ${E(n.values[0])}` : `Noto‘g‘ri variant: quyidagilardan biri kutilgan ${w(n.values, "|")}`;
11360
+ return n.values.length === 1 ? `Noto‘g‘ri kirish: kutilgan ${E(n.values[0])}` : `Noto‘g‘ri variant: quyidagilardan biri kutilgan ${k(n.values, "|")}`;
11361
11361
  case "too_big": {
11362
11362
  const o = n.inclusive ? "<=" : "<", a = t(n.origin);
11363
11363
  return a ? `Juda katta: kutilgan ${n.origin ?? "qiymat"} ${o}${n.maximum.toString()} ${a.unit} ${a.verb}` : `Juda katta: kutilgan ${n.origin ?? "qiymat"} ${o}${n.maximum.toString()}`;
@@ -11373,7 +11373,7 @@ const Kb = () => {
11373
11373
  case "not_multiple_of":
11374
11374
  return `Noto‘g‘ri raqam: ${n.divisor} ning karralisi bo‘lishi kerak`;
11375
11375
  case "unrecognized_keys":
11376
- return `Noma’lum kalit${n.keys.length > 1 ? "lar" : ""}: ${w(n.keys, ", ")}`;
11376
+ return `Noma’lum kalit${n.keys.length > 1 ? "lar" : ""}: ${k(n.keys, ", ")}`;
11377
11377
  case "invalid_key":
11378
11378
  return `${n.origin} dagi kalit noto‘g‘ri`;
11379
11379
  case "invalid_union":
@@ -11441,7 +11441,7 @@ const Hb = () => {
11441
11441
  return /^[A-Z]/.test(n.expected) ? `Đầu vào không hợp lệ: mong đợi instanceof ${n.expected}, nhận được ${s}` : `Đầu vào không hợp lệ: mong đợi ${o}, nhận được ${s}`;
11442
11442
  }
11443
11443
  case "invalid_value":
11444
- return n.values.length === 1 ? `Đầu vào không hợp lệ: mong đợi ${E(n.values[0])}` : `Tùy chọn không hợp lệ: mong đợi một trong các giá trị ${w(n.values, "|")}`;
11444
+ return n.values.length === 1 ? `Đầu vào không hợp lệ: mong đợi ${E(n.values[0])}` : `Tùy chọn không hợp lệ: mong đợi một trong các giá trị ${k(n.values, "|")}`;
11445
11445
  case "too_big": {
11446
11446
  const o = n.inclusive ? "<=" : "<", a = t(n.origin);
11447
11447
  return a ? `Quá lớn: mong đợi ${n.origin ?? "giá trị"} ${a.verb} ${o}${n.maximum.toString()} ${a.unit ?? "phần tử"}` : `Quá lớn: mong đợi ${n.origin ?? "giá trị"} ${o}${n.maximum.toString()}`;
@@ -11457,7 +11457,7 @@ const Hb = () => {
11457
11457
  case "not_multiple_of":
11458
11458
  return `Số không hợp lệ: phải là bội số của ${n.divisor}`;
11459
11459
  case "unrecognized_keys":
11460
- return `Khóa không được nhận dạng: ${w(n.keys, ", ")}`;
11460
+ return `Khóa không được nhận dạng: ${k(n.keys, ", ")}`;
11461
11461
  case "invalid_key":
11462
11462
  return `Khóa không hợp lệ trong ${n.origin}`;
11463
11463
  case "invalid_union":
@@ -11526,7 +11526,7 @@ const Qb = () => {
11526
11526
  return /^[A-Z]/.test(n.expected) ? `无效输入:期望 instanceof ${n.expected},实际接收 ${s}` : `无效输入:期望 ${o},实际接收 ${s}`;
11527
11527
  }
11528
11528
  case "invalid_value":
11529
- return n.values.length === 1 ? `无效输入:期望 ${E(n.values[0])}` : `无效选项:期望以下之一 ${w(n.values, "|")}`;
11529
+ return n.values.length === 1 ? `无效输入:期望 ${E(n.values[0])}` : `无效选项:期望以下之一 ${k(n.values, "|")}`;
11530
11530
  case "too_big": {
11531
11531
  const o = n.inclusive ? "<=" : "<", a = t(n.origin);
11532
11532
  return a ? `数值过大:期望 ${n.origin ?? "值"} ${o}${n.maximum.toString()} ${a.unit ?? "个元素"}` : `数值过大:期望 ${n.origin ?? "值"} ${o}${n.maximum.toString()}`;
@@ -11542,7 +11542,7 @@ const Qb = () => {
11542
11542
  case "not_multiple_of":
11543
11543
  return `无效数字:必须是 ${n.divisor} 的倍数`;
11544
11544
  case "unrecognized_keys":
11545
- return `出现未知的键(key): ${w(n.keys, ", ")}`;
11545
+ return `出现未知的键(key): ${k(n.keys, ", ")}`;
11546
11546
  case "invalid_key":
11547
11547
  return `${n.origin} 中的键(key)无效`;
11548
11548
  case "invalid_union":
@@ -11608,7 +11608,7 @@ const Xb = () => {
11608
11608
  return /^[A-Z]/.test(n.expected) ? `無效的輸入值:預期為 instanceof ${n.expected},但收到 ${s}` : `無效的輸入值:預期為 ${o},但收到 ${s}`;
11609
11609
  }
11610
11610
  case "invalid_value":
11611
- return n.values.length === 1 ? `無效的輸入值:預期為 ${E(n.values[0])}` : `無效的選項:預期為以下其中之一 ${w(n.values, "|")}`;
11611
+ return n.values.length === 1 ? `無效的輸入值:預期為 ${E(n.values[0])}` : `無效的選項:預期為以下其中之一 ${k(n.values, "|")}`;
11612
11612
  case "too_big": {
11613
11613
  const o = n.inclusive ? "<=" : "<", a = t(n.origin);
11614
11614
  return a ? `數值過大:預期 ${n.origin ?? "值"} 應為 ${o}${n.maximum.toString()} ${a.unit ?? "個元素"}` : `數值過大:預期 ${n.origin ?? "值"} 應為 ${o}${n.maximum.toString()}`;
@@ -11624,7 +11624,7 @@ const Xb = () => {
11624
11624
  case "not_multiple_of":
11625
11625
  return `無效的數字:必須為 ${n.divisor} 的倍數`;
11626
11626
  case "unrecognized_keys":
11627
- return `無法識別的鍵值${n.keys.length > 1 ? "們" : ""}:${w(n.keys, "、")}`;
11627
+ return `無法識別的鍵值${n.keys.length > 1 ? "們" : ""}:${k(n.keys, "、")}`;
11628
11628
  case "invalid_key":
11629
11629
  return `${n.origin} 中有無效的鍵值`;
11630
11630
  case "invalid_union":
@@ -11692,7 +11692,7 @@ const t0 = () => {
11692
11692
  return /^[A-Z]/.test(n.expected) ? `Ìbáwọlé aṣìṣe: a ní láti fi instanceof ${n.expected}, àmọ̀ a rí ${s}` : `Ìbáwọlé aṣìṣe: a ní láti fi ${o}, àmọ̀ a rí ${s}`;
11693
11693
  }
11694
11694
  case "invalid_value":
11695
- return n.values.length === 1 ? `Ìbáwọlé aṣìṣe: a ní láti fi ${E(n.values[0])}` : `Àṣàyàn aṣìṣe: yan ọ̀kan lára ${w(n.values, "|")}`;
11695
+ return n.values.length === 1 ? `Ìbáwọlé aṣìṣe: a ní láti fi ${E(n.values[0])}` : `Àṣàyàn aṣìṣe: yan ọ̀kan lára ${k(n.values, "|")}`;
11696
11696
  case "too_big": {
11697
11697
  const o = n.inclusive ? "<=" : "<", a = t(n.origin);
11698
11698
  return a ? `Tó pọ̀ jù: a ní láti jẹ́ pé ${n.origin ?? "iye"} ${a.verb} ${o}${n.maximum} ${a.unit}` : `Tó pọ̀ jù: a ní láti jẹ́ ${o}${n.maximum}`;
@@ -11708,7 +11708,7 @@ const t0 = () => {
11708
11708
  case "not_multiple_of":
11709
11709
  return `Nọ́mbà aṣìṣe: gbọ́dọ̀ jẹ́ èyà pípín ti ${n.divisor}`;
11710
11710
  case "unrecognized_keys":
11711
- return `Bọtìnì àìmọ̀: ${w(n.keys, ", ")}`;
11711
+ return `Bọtìnì àìmọ̀: ${k(n.keys, ", ")}`;
11712
11712
  case "invalid_key":
11713
11713
  return `Bọtìnì aṣìṣe nínú ${n.origin}`;
11714
11714
  case "invalid_union":
@@ -12774,18 +12774,18 @@ function Tf(e, t) {
12774
12774
  type: "pipe",
12775
12775
  in: l,
12776
12776
  out: d,
12777
- transform: ((m, v) => {
12777
+ transform: ((m, g) => {
12778
12778
  let y = m;
12779
- return r.case !== "sensitive" && (y = y.toLowerCase()), o.has(y) ? !0 : a.has(y) ? !1 : (v.issues.push({
12779
+ return r.case !== "sensitive" && (y = y.toLowerCase()), o.has(y) ? !0 : a.has(y) ? !1 : (g.issues.push({
12780
12780
  code: "invalid_value",
12781
12781
  expected: "stringbool",
12782
12782
  values: [...o, ...a],
12783
- input: v.value,
12783
+ input: g.value,
12784
12784
  inst: f,
12785
12785
  continue: !1
12786
12786
  }), {});
12787
12787
  }),
12788
- reverseTransform: ((m, v) => m === !0 ? i[0] || "true" : n[0] || "false"),
12788
+ reverseTransform: ((m, g) => m === !0 ? i[0] || "true" : n[0] || "false"),
12789
12789
  error: r.error
12790
12790
  });
12791
12791
  return f;
@@ -12866,7 +12866,7 @@ function Ot(e, t) {
12866
12866
  const n = (a) => {
12867
12867
  const s = e.target === "draft-2020-12" ? "$defs" : "definitions";
12868
12868
  if (e.external) {
12869
- const d = e.external.registry.get(a[0])?.id, f = e.external.uri ?? ((v) => v);
12869
+ const d = e.external.registry.get(a[0])?.id, f = e.external.uri ?? ((g) => g);
12870
12870
  if (d)
12871
12871
  return { ref: f(d) };
12872
12872
  const m = a[1].defId ?? a[1].schema.id ?? `schema${e.counter++}`;
@@ -12932,11 +12932,11 @@ function xt(e, t) {
12932
12932
  const u = c.def ?? c.schema, l = { ...u }, d = c.ref;
12933
12933
  if (c.ref = null, d) {
12934
12934
  i(d);
12935
- const m = e.seen.get(d), v = m.schema;
12936
- if (v.$ref && (e.target === "draft-07" || e.target === "draft-04" || e.target === "openapi-3.0") ? (u.allOf = u.allOf ?? [], u.allOf.push(v)) : Object.assign(u, v), Object.assign(u, l), s._zod.parent === d)
12935
+ const m = e.seen.get(d), g = m.schema;
12936
+ if (g.$ref && (e.target === "draft-07" || e.target === "draft-04" || e.target === "openapi-3.0") ? (u.allOf = u.allOf ?? [], u.allOf.push(g)) : Object.assign(u, g), Object.assign(u, l), s._zod.parent === d)
12937
12937
  for (const b in u)
12938
12938
  b === "$ref" || b === "allOf" || b in l || delete u[b];
12939
- if (v.$ref && m.def)
12939
+ if (g.$ref && m.def)
12940
12940
  for (const b in u)
12941
12941
  b === "$ref" || b === "allOf" || b in m.def && JSON.stringify(u[b]) === JSON.stringify(m.def[b]) && delete u[b];
12942
12942
  }
@@ -12945,8 +12945,8 @@ function xt(e, t) {
12945
12945
  i(f);
12946
12946
  const m = e.seen.get(f);
12947
12947
  if (m?.schema.$ref && (u.$ref = m.schema.$ref, m.def))
12948
- for (const v in u)
12949
- v === "$ref" || v === "allOf" || v in m.def && JSON.stringify(u[v]) === JSON.stringify(m.def[v]) && delete u[v];
12948
+ for (const g in u)
12949
+ g === "$ref" || g === "allOf" || g in m.def && JSON.stringify(u[g]) === JSON.stringify(m.def[g]) && delete u[g];
12950
12950
  }
12951
12951
  e.override({
12952
12952
  zodSchema: s,
@@ -15169,8 +15169,8 @@ function Gp(e, t) {
15169
15169
  if (e.patternProperties) {
15170
15170
  const c = e.patternProperties, u = Object.keys(c), l = [];
15171
15171
  for (const f of u) {
15172
- const m = ie(c[f], t), v = z.string().regex(new RegExp(f));
15173
- l.push(z.looseRecord(v, m));
15172
+ const m = ie(c[f], t), g = z.string().regex(new RegExp(f));
15173
+ l.push(z.looseRecord(g, m));
15174
15174
  }
15175
15175
  const d = [];
15176
15176
  if (Object.keys(n).length > 0 && d.push(z.object(n).passthrough()), d.push(...l), d.length === 0)
@@ -15700,7 +15700,7 @@ var yt = 9e15, et = 1e9, Ri = "0123456789abcdef", ir = "2.3025850929940456840179
15700
15700
  // Whether to use cryptographically-secure random number generation, if available.
15701
15701
  crypto: !1
15702
15702
  // true/false
15703
- }, Yp, Ze, T = !0, ii = "[DecimalError] ", Ye = ii + "Invalid argument: ", Xp = ii + "Precision limit exceeded", eh = ii + "crypto unavailable", th = "[object Decimal]", se = Math.floor, Q = Math.pow, o$ = /^0b([01]+(\.[01]*)?|\.[01]+)(p[+-]?\d+)?$/i, a$ = /^0x([0-9a-f]+(\.[0-9a-f]*)?|\.[0-9a-f]+)(p[+-]?\d+)?$/i, s$ = /^0o([0-7]+(\.[0-7]*)?|\.[0-7]+)(p[+-]?\d+)?$/i, nh = /^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i, xe = 1e7, N = 7, c$ = 9007199254740991, u$ = ir.length - 1, Mi = or.length - 1, $ = { toStringTag: th };
15703
+ }, Yp, Ze, j = !0, ii = "[DecimalError] ", Ye = ii + "Invalid argument: ", Xp = ii + "Precision limit exceeded", eh = ii + "crypto unavailable", th = "[object Decimal]", se = Math.floor, Q = Math.pow, o$ = /^0b([01]+(\.[01]*)?|\.[01]+)(p[+-]?\d+)?$/i, a$ = /^0x([0-9a-f]+(\.[0-9a-f]*)?|\.[0-9a-f]+)(p[+-]?\d+)?$/i, s$ = /^0o([0-7]+(\.[0-7]*)?|\.[0-7]+)(p[+-]?\d+)?$/i, nh = /^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i, xe = 1e7, N = 7, c$ = 9007199254740991, u$ = ir.length - 1, Mi = or.length - 1, $ = { toStringTag: th };
15704
15704
  $.absoluteValue = $.abs = function() {
15705
15705
  var e = new this.constructor(this);
15706
15706
  return e.s < 0 && (e.s = 1), x(e);
@@ -15732,7 +15732,7 @@ $.cosine = $.cos = function() {
15732
15732
  $.cubeRoot = $.cbrt = function() {
15733
15733
  var e, t, r, i, n, o, a, s, c, u, l = this, d = l.constructor;
15734
15734
  if (!l.isFinite() || l.isZero()) return new d(l);
15735
- for (T = !1, o = l.s * Q(l.s * l, 1 / 3), !o || Math.abs(o) == 1 / 0 ? (r = te(l.d), e = l.e, (o = (e - r.length + 1) % 3) && (r += o == 1 || o == -2 ? "0" : "00"), o = Q(r, 1 / 3), e = se((e + 1) / 3) - (e % 3 == (e < 0 ? -1 : 2)), o == 1 / 0 ? r = "5e" + e : (r = o.toExponential(), r = r.slice(0, r.indexOf("e") + 1) + e), i = new d(r), i.s = l.s) : i = new d(o.toString()), a = (e = d.precision) + 3; ; )
15735
+ for (j = !1, o = l.s * Q(l.s * l, 1 / 3), !o || Math.abs(o) == 1 / 0 ? (r = te(l.d), e = l.e, (o = (e - r.length + 1) % 3) && (r += o == 1 || o == -2 ? "0" : "00"), o = Q(r, 1 / 3), e = se((e + 1) / 3) - (e % 3 == (e < 0 ? -1 : 2)), o == 1 / 0 ? r = "5e" + e : (r = o.toExponential(), r = r.slice(0, r.indexOf("e") + 1) + e), i = new d(r), i.s = l.s) : i = new d(o.toString()), a = (e = d.precision) + 3; ; )
15736
15736
  if (s = i, c = s.times(s).times(s), u = c.plus(l), i = B(u.plus(l).times(s), u.plus(c), a + 2, 1), te(s.d).slice(0, a) === (r = te(i.d)).slice(0, a))
15737
15737
  if (r = r.slice(a - 3, a + 1), r == "9999" || !n && r == "4999") {
15738
15738
  if (!n && (x(s, e + 1, 0), s.times(s).times(s).eq(l))) {
@@ -15744,7 +15744,7 @@ $.cubeRoot = $.cbrt = function() {
15744
15744
  (!+r || !+r.slice(1) && r.charAt(0) == "5") && (x(i, e + 1, 1), t = !i.times(i).times(i).eq(l));
15745
15745
  break;
15746
15746
  }
15747
- return T = !0, x(i, e, d.rounding, t);
15747
+ return j = !0, x(i, e, d.rounding, t);
15748
15748
  };
15749
15749
  $.decimalPlaces = $.dp = function() {
15750
15750
  var e, t = this.d, r = NaN;
@@ -15805,11 +15805,11 @@ $.inverseCosine = $.acos = function() {
15805
15805
  };
15806
15806
  $.inverseHyperbolicCosine = $.acosh = function() {
15807
15807
  var e, t, r = this, i = r.constructor;
15808
- return r.lte(1) ? new i(r.eq(1) ? 0 : NaN) : r.isFinite() ? (e = i.precision, t = i.rounding, i.precision = e + Math.max(Math.abs(r.e), r.sd()) + 4, i.rounding = 1, T = !1, r = r.times(r).minus(1).sqrt().plus(r), T = !0, i.precision = e, i.rounding = t, r.ln()) : new i(r);
15808
+ return r.lte(1) ? new i(r.eq(1) ? 0 : NaN) : r.isFinite() ? (e = i.precision, t = i.rounding, i.precision = e + Math.max(Math.abs(r.e), r.sd()) + 4, i.rounding = 1, j = !1, r = r.times(r).minus(1).sqrt().plus(r), j = !0, i.precision = e, i.rounding = t, r.ln()) : new i(r);
15809
15809
  };
15810
15810
  $.inverseHyperbolicSine = $.asinh = function() {
15811
15811
  var e, t, r = this, i = r.constructor;
15812
- return !r.isFinite() || r.isZero() ? new i(r) : (e = i.precision, t = i.rounding, i.precision = e + 2 * Math.max(Math.abs(r.e), r.sd()) + 6, i.rounding = 1, T = !1, r = r.times(r).plus(1).sqrt().plus(r), T = !0, i.precision = e, i.rounding = t, r.ln());
15812
+ return !r.isFinite() || r.isZero() ? new i(r) : (e = i.precision, t = i.rounding, i.precision = e + 2 * Math.max(Math.abs(r.e), r.sd()) + 6, i.rounding = 1, j = !1, r = r.times(r).plus(1).sqrt().plus(r), j = !0, i.precision = e, i.rounding = t, r.ln());
15813
15813
  };
15814
15814
  $.inverseHyperbolicTangent = $.atanh = function() {
15815
15815
  var e, t, r, i, n = this, o = n.constructor;
@@ -15832,9 +15832,9 @@ $.inverseTangent = $.atan = function() {
15832
15832
  return a = Te(l, d + 4, f).times(0.5), a.s = u.s, a;
15833
15833
  }
15834
15834
  for (l.precision = s = d + 10, l.rounding = 1, r = Math.min(28, s / N + 2 | 0), e = r; e; --e) u = u.div(u.times(u).plus(1).sqrt().plus(1));
15835
- for (T = !1, t = Math.ceil(s / N), i = 1, c = u.times(u), a = new l(u), n = u; e !== -1; )
15835
+ for (j = !1, t = Math.ceil(s / N), i = 1, c = u.times(u), a = new l(u), n = u; e !== -1; )
15836
15836
  if (n = n.times(c), o = a.minus(n.div(i += 2)), n = n.times(c), a = o.plus(n.div(i += 2)), a.d[t] !== void 0) for (e = t; a.d[e] === o.d[e] && e--; ) ;
15837
- return r && (a = a.times(2 << r - 1)), T = !0, x(a, l.precision = d, l.rounding = f, !0);
15837
+ return r && (a = a.times(2 << r - 1)), j = !0, x(a, l.precision = d, l.rounding = f, !0);
15838
15838
  };
15839
15839
  $.isFinite = function() {
15840
15840
  return !!this.d;
@@ -15877,26 +15877,26 @@ $.logarithm = $.log = function(e) {
15877
15877
  for (n = r[0]; n % 10 === 0; ) n /= 10;
15878
15878
  o = n !== 1;
15879
15879
  }
15880
- if (T = !1, s = d + m, a = Ke(u, s), i = t ? ar(l, s + 10) : Ke(e, s), c = B(a, i, s, 1), Qt(c.d, n = d, f))
15880
+ if (j = !1, s = d + m, a = Ke(u, s), i = t ? ar(l, s + 10) : Ke(e, s), c = B(a, i, s, 1), Qt(c.d, n = d, f))
15881
15881
  do
15882
15882
  if (s += 10, a = Ke(u, s), i = t ? ar(l, s + 10) : Ke(e, s), c = B(a, i, s, 1), !o) {
15883
15883
  +te(c.d).slice(n + 1, n + 15) + 1 == 1e14 && (c = x(c, d + 1, 0));
15884
15884
  break;
15885
15885
  }
15886
15886
  while (Qt(c.d, n += 10, f));
15887
- return T = !0, x(c, d, f);
15887
+ return j = !0, x(c, d, f);
15888
15888
  };
15889
15889
  $.minus = $.sub = function(e) {
15890
- var t, r, i, n, o, a, s, c, u, l, d, f, m = this, v = m.constructor;
15891
- if (e = new v(e), !m.d || !e.d)
15892
- return !m.s || !e.s ? e = new v(NaN) : m.d ? e.s = -e.s : e = new v(e.d || m.s !== e.s ? m : NaN), e;
15890
+ var t, r, i, n, o, a, s, c, u, l, d, f, m = this, g = m.constructor;
15891
+ if (e = new g(e), !m.d || !e.d)
15892
+ return !m.s || !e.s ? e = new g(NaN) : m.d ? e.s = -e.s : e = new g(e.d || m.s !== e.s ? m : NaN), e;
15893
15893
  if (m.s != e.s)
15894
15894
  return e.s = -e.s, m.plus(e);
15895
- if (u = m.d, f = e.d, s = v.precision, c = v.rounding, !u[0] || !f[0]) {
15895
+ if (u = m.d, f = e.d, s = g.precision, c = g.rounding, !u[0] || !f[0]) {
15896
15896
  if (f[0]) e.s = -e.s;
15897
- else if (u[0]) e = new v(m);
15898
- else return new v(c === 3 ? -0 : 0);
15899
- return T ? x(e, s, c) : e;
15897
+ else if (u[0]) e = new g(m);
15898
+ else return new g(c === 3 ? -0 : 0);
15899
+ return j ? x(e, s, c) : e;
15900
15900
  }
15901
15901
  if (r = se(e.e / N), l = se(m.e / N), u = u.slice(), o = l - r, o) {
15902
15902
  for (d = o < 0, d ? (t = u, o = -o, a = f.length) : (t = f, r = l, a = u.length), i = Math.max(Math.ceil(s / N), a) + 2, o > i && (o = i, t.length = 1), t.reverse(), i = o; i--; ) t.push(0);
@@ -15919,11 +15919,11 @@ $.minus = $.sub = function(e) {
15919
15919
  }
15920
15920
  for (; u[--a] === 0; ) u.pop();
15921
15921
  for (; u[0] === 0; u.shift()) --r;
15922
- return u[0] ? (e.d = u, e.e = oi(u, r), T ? x(e, s, c) : e) : new v(c === 3 ? -0 : 0);
15922
+ return u[0] ? (e.d = u, e.e = oi(u, r), j ? x(e, s, c) : e) : new g(c === 3 ? -0 : 0);
15923
15923
  };
15924
15924
  $.modulo = $.mod = function(e) {
15925
15925
  var t, r = this, i = r.constructor;
15926
- return e = new i(e), !r.d || !e.s || e.d && !e.d[0] ? new i(NaN) : !e.d || r.d && !r.d[0] ? x(new i(r), i.precision, i.rounding) : (T = !1, i.modulo == 9 ? (t = B(r, e.abs(), 0, 3, 1), t.s *= e.s) : t = B(r, e, 0, i.modulo, 1), t = t.times(e), T = !0, r.minus(t));
15926
+ return e = new i(e), !r.d || !e.s || e.d && !e.d[0] ? new i(NaN) : !e.d || r.d && !r.d[0] ? x(new i(r), i.precision, i.rounding) : (j = !1, i.modulo == 9 ? (t = B(r, e.abs(), 0, 3, 1), t.s *= e.s) : t = B(r, e, 0, i.modulo, 1), t = t.times(e), j = !0, r.minus(t));
15927
15927
  };
15928
15928
  $.naturalExponential = $.exp = function() {
15929
15929
  return Li(this);
@@ -15942,7 +15942,7 @@ $.plus = $.add = function(e) {
15942
15942
  if (d.s != e.s)
15943
15943
  return e.s = -e.s, d.minus(e);
15944
15944
  if (u = d.d, l = e.d, s = f.precision, c = f.rounding, !u[0] || !l[0])
15945
- return l[0] || (e = new f(d)), T ? x(e, s, c) : e;
15945
+ return l[0] || (e = new f(d)), j ? x(e, s, c) : e;
15946
15946
  if (o = se(d.e / N), i = se(e.e / N), u = u.slice(), n = o - i, n) {
15947
15947
  for (n < 0 ? (r = u, n = -n, a = l.length) : (r = l, i = o, a = u.length), o = Math.ceil(s / N), a = o > a ? o + 1 : a + 1, n > a && (n = a, r.length = 1), r.reverse(); n--; ) r.push(0);
15948
15948
  r.reverse();
@@ -15950,7 +15950,7 @@ $.plus = $.add = function(e) {
15950
15950
  for (a = u.length, n = l.length, a - n < 0 && (n = a, r = l, l = u, u = r), t = 0; n; )
15951
15951
  t = (u[--n] = u[n] + l[n] + t) / xe | 0, u[n] %= xe;
15952
15952
  for (t && (u.unshift(t), ++i), a = u.length; u[--a] == 0; ) u.pop();
15953
- return e.d = u, e.e = oi(u, i), T ? x(e, s, c) : e;
15953
+ return e.d = u, e.e = oi(u, i), j ? x(e, s, c) : e;
15954
15954
  };
15955
15955
  $.precision = $.sd = function(e) {
15956
15956
  var t, r = this;
@@ -15969,7 +15969,7 @@ $.squareRoot = $.sqrt = function() {
15969
15969
  var e, t, r, i, n, o, a = this, s = a.d, c = a.e, u = a.s, l = a.constructor;
15970
15970
  if (u !== 1 || !s || !s[0])
15971
15971
  return new l(!u || u < 0 && (!s || s[0]) ? NaN : s ? a : 1 / 0);
15972
- for (T = !1, u = Math.sqrt(+a), u == 0 || u == 1 / 0 ? (t = te(s), (t.length + c) % 2 == 0 && (t += "0"), u = Math.sqrt(t), c = se((c + 1) / 2) - (c < 0 || c % 2), u == 1 / 0 ? t = "5e" + c : (t = u.toExponential(), t = t.slice(0, t.indexOf("e") + 1) + c), i = new l(t)) : i = new l(u.toString()), r = (c = l.precision) + 3; ; )
15972
+ for (j = !1, u = Math.sqrt(+a), u == 0 || u == 1 / 0 ? (t = te(s), (t.length + c) % 2 == 0 && (t += "0"), u = Math.sqrt(t), c = se((c + 1) / 2) - (c < 0 || c % 2), u == 1 / 0 ? t = "5e" + c : (t = u.toExponential(), t = t.slice(0, t.indexOf("e") + 1) + c), i = new l(t)) : i = new l(u.toString()), r = (c = l.precision) + 3; ; )
15973
15973
  if (o = i, i = o.plus(B(a, o, r + 2, 1)).times(0.5), te(o.d).slice(0, r) === (t = te(i.d)).slice(0, r))
15974
15974
  if (t = t.slice(r - 3, r + 1), t == "9999" || !n && t == "4999") {
15975
15975
  if (!n && (x(o, c + 1, 0), o.times(o).eq(a))) {
@@ -15981,7 +15981,7 @@ $.squareRoot = $.sqrt = function() {
15981
15981
  (!+t || !+t.slice(1) && t.charAt(0) == "5") && (x(i, c + 1, 1), e = !i.times(i).eq(a));
15982
15982
  break;
15983
15983
  }
15984
- return T = !0, x(i, c, l.rounding, e);
15984
+ return j = !0, x(i, c, l.rounding, e);
15985
15985
  };
15986
15986
  $.tangent = $.tan = function() {
15987
15987
  var e, t, r = this, i = r.constructor;
@@ -15998,7 +15998,7 @@ $.times = $.mul = function(e) {
15998
15998
  o[n] = (o[n] + t) % xe | 0;
15999
15999
  }
16000
16000
  for (; !o[--a]; ) o.pop();
16001
- return t ? ++r : o.shift(), e.d = o, e.e = oi(o, r), T ? x(e, d.precision, d.rounding) : e;
16001
+ return t ? ++r : o.shift(), e.d = o, e.e = oi(o, r), j ? x(e, d.precision, d.rounding) : e;
16002
16002
  };
16003
16003
  $.toBinary = function(e, t) {
16004
16004
  return ns(this, 2, e, t);
@@ -16016,17 +16016,17 @@ $.toFixed = function(e, t) {
16016
16016
  return e === void 0 ? r = Pe(n) : (pe(e, 0, et), t === void 0 ? t = o.rounding : pe(t, 0, 8), i = x(new o(n), e + n.e + 1, t), r = Pe(i, !1, e + i.e + 1)), n.isNeg() && !n.isZero() ? "-" + r : r;
16017
16017
  };
16018
16018
  $.toFraction = function(e) {
16019
- var t, r, i, n, o, a, s, c, u, l, d, f, m = this, v = m.d, y = m.constructor;
16020
- if (!v) return new y(m);
16021
- if (u = r = new y(1), i = c = new y(0), t = new y(i), o = t.e = rh(v) - m.e - 1, a = o % N, t.d[0] = Q(10, a < 0 ? N + a : a), e == null)
16019
+ var t, r, i, n, o, a, s, c, u, l, d, f, m = this, g = m.d, y = m.constructor;
16020
+ if (!g) return new y(m);
16021
+ if (u = r = new y(1), i = c = new y(0), t = new y(i), o = t.e = rh(g) - m.e - 1, a = o % N, t.d[0] = Q(10, a < 0 ? N + a : a), e == null)
16022
16022
  e = o > 0 ? t : u;
16023
16023
  else {
16024
16024
  if (s = new y(e), !s.isInt() || s.lt(u)) throw Error(Ye + s);
16025
16025
  e = s.gt(t) ? o > 0 ? t : u : s;
16026
16026
  }
16027
- for (T = !1, s = new y(te(v)), l = y.precision, y.precision = o = v.length * N * 2; d = B(s, t, 0, 1, 1), n = r.plus(d.times(i)), n.cmp(e) != 1; )
16027
+ for (j = !1, s = new y(te(g)), l = y.precision, y.precision = o = g.length * N * 2; d = B(s, t, 0, 1, 1), n = r.plus(d.times(i)), n.cmp(e) != 1; )
16028
16028
  r = i, i = n, n = u, u = c.plus(d.times(n)), c = n, n = t, t = s.minus(d.times(n)), s = n;
16029
- return n = B(e.minus(r), i, 0, 1, 1), c = c.plus(n.times(u)), r = r.plus(n.times(i)), c.s = u.s = m.s, f = B(u, i, o, 1).minus(m).abs().cmp(B(c, r, o, 1).minus(m).abs()) < 1 ? [u, i] : [c, r], y.precision = l, T = !0, f;
16029
+ return n = B(e.minus(r), i, 0, 1, 1), c = c.plus(n.times(u)), r = r.plus(n.times(i)), c.s = u.s = m.s, f = B(u, i, o, 1).minus(m).abs().cmp(B(c, r, o, 1).minus(m).abs()) < 1 ? [u, i] : [c, r], y.precision = l, j = !0, f;
16030
16030
  };
16031
16031
  $.toHexadecimal = $.toHex = function(e, t) {
16032
16032
  return ns(this, 16, e, t);
@@ -16041,7 +16041,7 @@ $.toNearest = function(e, t) {
16041
16041
  if (!e.d)
16042
16042
  return e.s && (e.s = r.s), e;
16043
16043
  }
16044
- return e.d[0] ? (T = !1, r = B(r, e, 0, t, 1).times(e), T = !0, x(r)) : (e.s = r.s, r = e), r;
16044
+ return e.d[0] ? (j = !1, r = B(r, e, 0, t, 1).times(e), j = !0, x(r)) : (e.s = r.s, r = e), r;
16045
16045
  };
16046
16046
  $.toNumber = function() {
16047
16047
  return +this;
@@ -16061,7 +16061,7 @@ $.toPower = $.pow = function(e) {
16061
16061
  if ((e.d[t] & 1) == 0 && (a = 1), s.e == 0 && s.d[0] == 1 && s.d.length == 1)
16062
16062
  return s.s = a, s;
16063
16063
  }
16064
- return r = Q(+s, u), t = r == 0 || !isFinite(r) ? se(u * (Math.log("0." + te(s.d)) / Math.LN10 + s.e + 1)) : new c(r + "").e, t > c.maxE + 1 || t < c.minE - 1 ? new c(t > 0 ? a / 0 : 0) : (T = !1, c.rounding = s.s = 1, r = Math.min(12, (t + "").length), n = Li(e.times(Ke(s, i + r)), i), n.d && (n = x(n, i + 5, 1), Qt(n.d, i, o) && (t = i + 10, n = x(Li(e.times(Ke(s, t + r)), t), t + 5, 1), +te(n.d).slice(i + 1, i + 15) + 1 == 1e14 && (n = x(n, i + 1, 0)))), n.s = a, T = !0, c.rounding = o, x(n, i, o));
16064
+ return r = Q(+s, u), t = r == 0 || !isFinite(r) ? se(u * (Math.log("0." + te(s.d)) / Math.LN10 + s.e + 1)) : new c(r + "").e, t > c.maxE + 1 || t < c.minE - 1 ? new c(t > 0 ? a / 0 : 0) : (j = !1, c.rounding = s.s = 1, r = Math.min(12, (t + "").length), n = Li(e.times(Ke(s, i + r)), i), n.d && (n = x(n, i + 5, 1), Qt(n.d, i, o) && (t = i + 10, n = x(Li(e.times(Ke(s, t + r)), t), t + 5, 1), +te(n.d).slice(i + 1, i + 15) + 1 == 1e14 && (n = x(n, i + 1, 0)))), n.s = a, j = !0, c.rounding = o, x(n, i, o));
16065
16065
  };
16066
16066
  $.toPrecision = function(e, t) {
16067
16067
  var r, i = this, n = i.constructor;
@@ -16145,7 +16145,7 @@ var B = /* @__PURE__ */ (function() {
16145
16145
  for (; !i[0] && i.length > 1; ) i.shift();
16146
16146
  }
16147
16147
  return function(i, n, o, a, s, c) {
16148
- var u, l, d, f, m, v, y, b, g, S, k, I, j, C, ce, Ne, Re, _e, H, Ce, tt = i.constructor, de = i.s == n.s ? 1 : -1, W = i.d, L = n.d;
16148
+ var u, l, d, f, m, g, y, b, v, S, w, I, T, C, ce, Ne, Re, _e, H, Ce, tt = i.constructor, de = i.s == n.s ? 1 : -1, W = i.d, L = n.d;
16149
16149
  if (!W || !W[0] || !L || !L[0])
16150
16150
  return new tt(
16151
16151
  // Return NaN if either NaN, or both Infinity or 0.
@@ -16154,31 +16154,31 @@ var B = /* @__PURE__ */ (function() {
16154
16154
  W && W[0] == 0 || !L ? de * 0 : de / 0
16155
16155
  )
16156
16156
  );
16157
- for (c ? (m = 1, l = i.e - n.e) : (c = xe, m = N, l = se(i.e / m) - se(n.e / m)), H = L.length, Re = W.length, g = new tt(de), S = g.d = [], d = 0; L[d] == (W[d] || 0); d++) ;
16157
+ for (c ? (m = 1, l = i.e - n.e) : (c = xe, m = N, l = se(i.e / m) - se(n.e / m)), H = L.length, Re = W.length, v = new tt(de), S = v.d = [], d = 0; L[d] == (W[d] || 0); d++) ;
16158
16158
  if (L[d] > (W[d] || 0) && l--, o == null ? (C = o = tt.precision, a = tt.rounding) : s ? C = o + (i.e - n.e) + 1 : C = o, C < 0)
16159
- S.push(1), v = !0;
16159
+ S.push(1), g = !0;
16160
16160
  else {
16161
16161
  if (C = C / m + 2 | 0, d = 0, H == 1) {
16162
16162
  for (f = 0, L = L[0], C++; (d < Re || f) && C--; d++)
16163
16163
  ce = f * c + (W[d] || 0), S[d] = ce / L | 0, f = ce % L | 0;
16164
- v = f || d < Re;
16164
+ g = f || d < Re;
16165
16165
  } else {
16166
- for (f = c / (L[0] + 1) | 0, f > 1 && (L = e(L, f, c), W = e(W, f, c), H = L.length, Re = W.length), Ne = H, k = W.slice(0, H), I = k.length; I < H; ) k[I++] = 0;
16166
+ for (f = c / (L[0] + 1) | 0, f > 1 && (L = e(L, f, c), W = e(W, f, c), H = L.length, Re = W.length), Ne = H, w = W.slice(0, H), I = w.length; I < H; ) w[I++] = 0;
16167
16167
  Ce = L.slice(), Ce.unshift(0), _e = L[0], L[1] >= c / 2 && ++_e;
16168
16168
  do
16169
- f = 0, u = t(L, k, H, I), u < 0 ? (j = k[0], H != I && (j = j * c + (k[1] || 0)), f = j / _e | 0, f > 1 ? (f >= c && (f = c - 1), y = e(L, f, c), b = y.length, I = k.length, u = t(y, k, b, I), u == 1 && (f--, r(y, H < b ? Ce : L, b, c))) : (f == 0 && (u = f = 1), y = L.slice()), b = y.length, b < I && y.unshift(0), r(k, y, I, c), u == -1 && (I = k.length, u = t(L, k, H, I), u < 1 && (f++, r(k, H < I ? Ce : L, I, c))), I = k.length) : u === 0 && (f++, k = [0]), S[d++] = f, u && k[0] ? k[I++] = W[Ne] || 0 : (k = [W[Ne]], I = 1);
16170
- while ((Ne++ < Re || k[0] !== void 0) && C--);
16171
- v = k[0] !== void 0;
16169
+ f = 0, u = t(L, w, H, I), u < 0 ? (T = w[0], H != I && (T = T * c + (w[1] || 0)), f = T / _e | 0, f > 1 ? (f >= c && (f = c - 1), y = e(L, f, c), b = y.length, I = w.length, u = t(y, w, b, I), u == 1 && (f--, r(y, H < b ? Ce : L, b, c))) : (f == 0 && (u = f = 1), y = L.slice()), b = y.length, b < I && y.unshift(0), r(w, y, I, c), u == -1 && (I = w.length, u = t(L, w, H, I), u < 1 && (f++, r(w, H < I ? Ce : L, I, c))), I = w.length) : u === 0 && (f++, w = [0]), S[d++] = f, u && w[0] ? w[I++] = W[Ne] || 0 : (w = [W[Ne]], I = 1);
16170
+ while ((Ne++ < Re || w[0] !== void 0) && C--);
16171
+ g = w[0] !== void 0;
16172
16172
  }
16173
16173
  S[0] || S.shift();
16174
16174
  }
16175
16175
  if (m == 1)
16176
- g.e = l, Yp = v;
16176
+ v.e = l, Yp = g;
16177
16177
  else {
16178
16178
  for (d = 1, f = S[0]; f >= 10; f /= 10) d++;
16179
- g.e = d + l * m - 1, x(g, s ? o + g.e + 1 : o, a, v);
16179
+ v.e = d + l * m - 1, x(v, s ? o + v.e + 1 : o, a, g);
16180
16180
  }
16181
- return g;
16181
+ return v;
16182
16182
  };
16183
16183
  })();
16184
16184
  function x(e, t, r, i) {
@@ -16214,7 +16214,7 @@ function x(e, t, r, i) {
16214
16214
  }
16215
16215
  for (o = d.length; d[--o] === 0; ) d.pop();
16216
16216
  }
16217
- return T && (e.e > m.maxE ? (e.d = null, e.e = NaN) : e.e < m.minE && (e.e = 0, e.d = [0])), e;
16217
+ return j && (e.e > m.maxE ? (e.d = null, e.e = NaN) : e.e < m.minE && (e.e = 0, e.d = [0])), e;
16218
16218
  }
16219
16219
  function Pe(e, t, r) {
16220
16220
  if (!e.isFinite()) return ah(e);
@@ -16228,7 +16228,7 @@ function oi(e, t) {
16228
16228
  }
16229
16229
  function ar(e, t, r) {
16230
16230
  if (t > u$)
16231
- throw T = !0, r && (e.precision = r), Error(Xp);
16231
+ throw j = !0, r && (e.precision = r), Error(Xp);
16232
16232
  return x(new e(ir), t, 1, !0);
16233
16233
  }
16234
16234
  function Te(e, t, r) {
@@ -16249,14 +16249,14 @@ function Ve(e) {
16249
16249
  }
16250
16250
  function ih(e, t, r, i) {
16251
16251
  var n, o = new e(1), a = Math.ceil(i / N + 4);
16252
- for (T = !1; ; ) {
16252
+ for (j = !1; ; ) {
16253
16253
  if (r % 2 && (o = o.times(t), ic(o.d, a) && (n = !0)), r = se(r / 2), r === 0) {
16254
16254
  r = o.d.length - 1, n && o.d[r] === 0 && ++o.d[r];
16255
16255
  break;
16256
16256
  }
16257
16257
  t = t.times(t), ic(t.d, a);
16258
16258
  }
16259
- return T = !0, o;
16259
+ return j = !0, o;
16260
16260
  }
16261
16261
  function rc(e) {
16262
16262
  return e.d[e.d.length - 1] & 1;
@@ -16272,10 +16272,10 @@ function oh(e, t, r) {
16272
16272
  return o;
16273
16273
  }
16274
16274
  function Li(e, t) {
16275
- var r, i, n, o, a, s, c, u = 0, l = 0, d = 0, f = e.constructor, m = f.rounding, v = f.precision;
16275
+ var r, i, n, o, a, s, c, u = 0, l = 0, d = 0, f = e.constructor, m = f.rounding, g = f.precision;
16276
16276
  if (!e.d || !e.d[0] || e.e > 17)
16277
16277
  return new f(e.d ? e.d[0] ? e.s < 0 ? 0 : 1 / 0 : 1 : e.s ? e.s < 0 ? 0 : e : NaN);
16278
- for (t == null ? (T = !1, c = v) : c = t, s = new f(0.03125); e.e > -2; )
16278
+ for (t == null ? (j = !1, c = g) : c = t, s = new f(0.03125); e.e > -2; )
16279
16279
  e = e.times(s), d += 5;
16280
16280
  for (i = Math.log(Q(2, d)) / Math.LN10 * 2 + 5 | 0, c += i, r = o = a = new f(1), f.precision = c; ; ) {
16281
16281
  if (o = x(o.times(e), c, 1), r = r.times(++l), s = a.plus(B(o, r, c, 1)), te(s.d).slice(0, c) === te(a.d).slice(0, c)) {
@@ -16284,32 +16284,32 @@ function Li(e, t) {
16284
16284
  if (u < 3 && Qt(a.d, c - i, m, u))
16285
16285
  f.precision = c += 10, r = o = s = new f(1), l = 0, u++;
16286
16286
  else
16287
- return x(a, f.precision = v, m, T = !0);
16287
+ return x(a, f.precision = g, m, j = !0);
16288
16288
  else
16289
- return f.precision = v, a;
16289
+ return f.precision = g, a;
16290
16290
  }
16291
16291
  a = s;
16292
16292
  }
16293
16293
  }
16294
16294
  function Ke(e, t) {
16295
- var r, i, n, o, a, s, c, u, l, d, f, m = 1, v = 10, y = e, b = y.d, g = y.constructor, S = g.rounding, k = g.precision;
16295
+ var r, i, n, o, a, s, c, u, l, d, f, m = 1, g = 10, y = e, b = y.d, v = y.constructor, S = v.rounding, w = v.precision;
16296
16296
  if (y.s < 0 || !b || !b[0] || !y.e && b[0] == 1 && b.length == 1)
16297
- return new g(b && !b[0] ? -1 / 0 : y.s != 1 ? NaN : b ? 0 : y);
16298
- if (t == null ? (T = !1, l = k) : l = t, g.precision = l += v, r = te(b), i = r.charAt(0), Math.abs(o = y.e) < 15e14) {
16297
+ return new v(b && !b[0] ? -1 / 0 : y.s != 1 ? NaN : b ? 0 : y);
16298
+ if (t == null ? (j = !1, l = w) : l = t, v.precision = l += g, r = te(b), i = r.charAt(0), Math.abs(o = y.e) < 15e14) {
16299
16299
  for (; i < 7 && i != 1 || i == 1 && r.charAt(1) > 3; )
16300
16300
  y = y.times(e), r = te(y.d), i = r.charAt(0), m++;
16301
- o = y.e, i > 1 ? (y = new g("0." + r), o++) : y = new g(i + "." + r.slice(1));
16301
+ o = y.e, i > 1 ? (y = new v("0." + r), o++) : y = new v(i + "." + r.slice(1));
16302
16302
  } else
16303
- return u = ar(g, l + 2, k).times(o + ""), y = Ke(new g(i + "." + r.slice(1)), l - v).plus(u), g.precision = k, t == null ? x(y, k, S, T = !0) : y;
16303
+ return u = ar(v, l + 2, w).times(o + ""), y = Ke(new v(i + "." + r.slice(1)), l - g).plus(u), v.precision = w, t == null ? x(y, w, S, j = !0) : y;
16304
16304
  for (d = y, c = a = y = B(y.minus(1), y.plus(1), l, 1), f = x(y.times(y), l, 1), n = 3; ; ) {
16305
- if (a = x(a.times(f), l, 1), u = c.plus(B(a, new g(n), l, 1)), te(u.d).slice(0, l) === te(c.d).slice(0, l))
16306
- if (c = c.times(2), o !== 0 && (c = c.plus(ar(g, l + 2, k).times(o + ""))), c = B(c, new g(m), l, 1), t == null)
16307
- if (Qt(c.d, l - v, S, s))
16308
- g.precision = l += v, u = a = y = B(d.minus(1), d.plus(1), l, 1), f = x(y.times(y), l, 1), n = s = 1;
16305
+ if (a = x(a.times(f), l, 1), u = c.plus(B(a, new v(n), l, 1)), te(u.d).slice(0, l) === te(c.d).slice(0, l))
16306
+ if (c = c.times(2), o !== 0 && (c = c.plus(ar(v, l + 2, w).times(o + ""))), c = B(c, new v(m), l, 1), t == null)
16307
+ if (Qt(c.d, l - g, S, s))
16308
+ v.precision = l += g, u = a = y = B(d.minus(1), d.plus(1), l, 1), f = x(y.times(y), l, 1), n = s = 1;
16309
16309
  else
16310
- return x(c, g.precision = k, S, T = !0);
16310
+ return x(c, v.precision = w, S, j = !0);
16311
16311
  else
16312
- return g.precision = k, c;
16312
+ return v.precision = w, c;
16313
16313
  c = u, n += 2;
16314
16314
  }
16315
16315
  }
@@ -16327,7 +16327,7 @@ function Kn(e, t) {
16327
16327
  } else
16328
16328
  i -= n;
16329
16329
  for (; i--; ) t += "0";
16330
- e.d.push(+t), T && (e.e > e.constructor.maxE ? (e.d = null, e.e = NaN) : e.e < e.constructor.minE && (e.e = 0, e.d = [0]));
16330
+ e.d.push(+t), j && (e.e > e.constructor.maxE ? (e.d = null, e.e = NaN) : e.e < e.constructor.minE && (e.e = 0, e.d = [0]));
16331
16331
  } else
16332
16332
  e.e = 0, e.d = [0];
16333
16333
  return e;
@@ -16347,7 +16347,7 @@ function d$(e, t) {
16347
16347
  else
16348
16348
  throw Error(Ye + t);
16349
16349
  for (o = t.search(/p/i), o > 0 ? (c = +t.slice(o + 1), t = t.substring(2, o)) : t = t.slice(2), o = t.indexOf("."), a = o >= 0, i = e.constructor, a && (t = t.replace(".", ""), s = t.length, o = s - o, n = ih(i, new i(r), o, o * 2)), u = Vn(t, r, xe), l = u.length - 1, o = l; u[o] === 0; --o) u.pop();
16350
- return o < 0 ? new i(e.s * 0) : (e.e = oi(u, l), e.d = u, T = !1, a && (e = B(e, n, s * 4)), c && (e = e.times(Math.abs(c) < 54 ? Q(2, c) : si.pow(2, c))), T = !0, e);
16350
+ return o < 0 ? new i(e.s * 0) : (e.e = oi(u, l), e.d = u, j = !1, a && (e = B(e, n, s * 4)), c && (e = e.times(Math.abs(c) < 54 ? Q(2, c) : si.pow(2, c))), j = !0, e);
16351
16351
  }
16352
16352
  function f$(e, t) {
16353
16353
  var r, i = t.d.length;
@@ -16360,14 +16360,14 @@ function f$(e, t) {
16360
16360
  }
16361
16361
  function Dt(e, t, r, i, n) {
16362
16362
  var o, a, s, c, u = e.precision, l = Math.ceil(u / N);
16363
- for (T = !1, c = r.times(r), s = new e(i); ; ) {
16363
+ for (j = !1, c = r.times(r), s = new e(i); ; ) {
16364
16364
  if (a = B(s.times(c), new e(t++ * t++), u, 1), s = n ? i.plus(a) : i.minus(a), i = B(a.times(c), new e(t++ * t++), u, 1), a = s.plus(i), a.d[l] !== void 0) {
16365
16365
  for (o = l; a.d[o] === s.d[o] && o--; ) ;
16366
16366
  if (o == -1) break;
16367
16367
  }
16368
16368
  o = s, s = i, i = a, a = o;
16369
16369
  }
16370
- return T = !0, a.d.length = l + 1, a;
16370
+ return j = !0, a.d.length = l + 1, a;
16371
16371
  }
16372
16372
  function ai(e, t) {
16373
16373
  for (var r = e; --t; ) r *= e;
@@ -16387,20 +16387,20 @@ function sh(e, t) {
16387
16387
  return t.minus(n).abs();
16388
16388
  }
16389
16389
  function ns(e, t, r, i) {
16390
- var n, o, a, s, c, u, l, d, f, m = e.constructor, v = r !== void 0;
16391
- if (v ? (pe(r, 1, et), i === void 0 ? i = m.rounding : pe(i, 0, 8)) : (r = m.precision, i = m.rounding), !e.isFinite())
16390
+ var n, o, a, s, c, u, l, d, f, m = e.constructor, g = r !== void 0;
16391
+ if (g ? (pe(r, 1, et), i === void 0 ? i = m.rounding : pe(i, 0, 8)) : (r = m.precision, i = m.rounding), !e.isFinite())
16392
16392
  l = ah(e);
16393
16393
  else {
16394
- for (l = Pe(e), a = l.indexOf("."), v ? (n = 2, t == 16 ? r = r * 4 - 3 : t == 8 && (r = r * 3 - 2)) : n = t, a >= 0 && (l = l.replace(".", ""), f = new m(1), f.e = l.length - a, f.d = Vn(Pe(f), 10, n), f.e = f.d.length), d = Vn(l, 10, n), o = c = d.length; d[--c] == 0; ) d.pop();
16394
+ for (l = Pe(e), a = l.indexOf("."), g ? (n = 2, t == 16 ? r = r * 4 - 3 : t == 8 && (r = r * 3 - 2)) : n = t, a >= 0 && (l = l.replace(".", ""), f = new m(1), f.e = l.length - a, f.d = Vn(Pe(f), 10, n), f.e = f.d.length), d = Vn(l, 10, n), o = c = d.length; d[--c] == 0; ) d.pop();
16395
16395
  if (!d[0])
16396
- l = v ? "0p+0" : "0";
16396
+ l = g ? "0p+0" : "0";
16397
16397
  else {
16398
16398
  if (a < 0 ? o-- : (e = new m(e), e.d = d, e.e = o, e = B(e, f, r, i, 0, n), d = e.d, o = e.e, u = Yp), a = d[r], s = n / 2, u = u || d[r + 1] !== void 0, u = i < 4 ? (a !== void 0 || u) && (i === 0 || i === (e.s < 0 ? 3 : 2)) : a > s || a === s && (i === 4 || u || i === 6 && d[r - 1] & 1 || i === (e.s < 0 ? 8 : 7)), d.length = r, u)
16399
16399
  for (; ++d[--r] > n - 1; )
16400
16400
  d[r] = 0, r || (++o, d.unshift(1));
16401
16401
  for (c = d.length; !d[c - 1]; --c) ;
16402
16402
  for (a = 0, l = ""; a < c; a++) l += Ri.charAt(d[a]);
16403
- if (v) {
16403
+ if (g) {
16404
16404
  if (c > 1)
16405
16405
  if (t == 16 || t == 8) {
16406
16406
  for (a = t == 16 ? 4 : 3, --c; c % a; c++) l += "0";
@@ -16515,7 +16515,7 @@ function ch(e) {
16515
16515
  var a, s, c, u = this;
16516
16516
  if (!(u instanceof n)) return new n(o);
16517
16517
  if (u.constructor = n, oc(o)) {
16518
- u.s = o.s, T ? !o.d || o.e > n.maxE ? (u.e = NaN, u.d = null) : o.e < n.minE ? (u.e = 0, u.d = [0]) : (u.e = o.e, u.d = o.d.slice()) : (u.e = o.e, u.d = o.d ? o.d.slice() : o.d);
16518
+ u.s = o.s, j ? !o.d || o.e > n.maxE ? (u.e = NaN, u.d = null) : o.e < n.minE ? (u.e = 0, u.d = [0]) : (u.e = o.e, u.d = o.d.slice()) : (u.e = o.e, u.d = o.d ? o.d.slice() : o.d);
16519
16519
  return;
16520
16520
  }
16521
16521
  if (c = typeof o, c === "number") {
@@ -16525,7 +16525,7 @@ function ch(e) {
16525
16525
  }
16526
16526
  if (o < 0 ? (o = -o, u.s = -1) : u.s = 1, o === ~~o && o < 1e7) {
16527
16527
  for (a = 0, s = o; s >= 10; s /= 10) a++;
16528
- T ? a > n.maxE ? (u.e = NaN, u.d = null) : a < n.minE ? (u.e = 0, u.d = [0]) : (u.e = a, u.d = [o]) : (u.e = a, u.d = [o]);
16528
+ j ? a > n.maxE ? (u.e = NaN, u.d = null) : a < n.minE ? (u.e = 0, u.d = [0]) : (u.e = a, u.d = [o]) : (u.e = a, u.d = [o]);
16529
16529
  return;
16530
16530
  }
16531
16531
  if (o * 0 !== 0) {
@@ -16555,15 +16555,15 @@ function N$(e) {
16555
16555
  }
16556
16556
  function D$() {
16557
16557
  var e, t, r = new this(0);
16558
- for (T = !1, e = 0; e < arguments.length; )
16558
+ for (j = !1, e = 0; e < arguments.length; )
16559
16559
  if (t = new this(arguments[e++]), t.d)
16560
16560
  r.d && (r = r.plus(t.times(t)));
16561
16561
  else {
16562
16562
  if (t.s)
16563
- return T = !0, new this(1 / 0);
16563
+ return j = !0, new this(1 / 0);
16564
16564
  r = t;
16565
16565
  }
16566
- return T = !0, r.sqrt();
16566
+ return j = !0, r.sqrt();
16567
16567
  }
16568
16568
  function oc(e) {
16569
16569
  return e instanceof si || e && e.toStringTag === th || !1;
@@ -16638,8 +16638,8 @@ function K$(e, t) {
16638
16638
  }
16639
16639
  function W$() {
16640
16640
  var e = 0, t = arguments, r = new this(t[e]);
16641
- for (T = !1; r.s && ++e < t.length; ) r = r.plus(t[e]);
16642
- return T = !0, x(r, this.precision, this.rounding);
16641
+ for (j = !1; r.s && ++e < t.length; ) r = r.plus(t[e]);
16642
+ return j = !0, x(r, this.precision, this.rounding);
16643
16643
  }
16644
16644
  function H$(e) {
16645
16645
  return new this(e).tan();
@@ -16660,7 +16660,7 @@ const Y$ = (e) => e?.map((t) => ({
16660
16660
  fileName: t.name,
16661
16661
  mimeType: t.mimetype
16662
16662
  })), X$ = async (e) => {
16663
- const { files: t, agentId: r, executionId: i } = e, n = t.map((s) => ({
16663
+ const { files: t, agentId: r, sourceId: i } = e, n = t.map((s) => ({
16664
16664
  sourceId: i,
16665
16665
  sourceType: Qp.AgentExecutorDocument,
16666
16666
  fileName: s.name,
@@ -16683,30 +16683,48 @@ const Y$ = (e) => e?.map((t) => ({
16683
16683
  status: "uploaded"
16684
16684
  }));
16685
16685
  }, ew = (e) => {
16686
- const { socket: t, agentId: r, uid: i, variables: n, getCurrentExecutionId: o, setCurrentExecutionId: a, subscribeToExecution: s } = e;
16687
- return async (c) => {
16688
- const { content: u, executionId: l, files: d, documents: f, payload: m } = c, y = l ?? o() ?? Ai(), b = Ai();
16689
- a(y), s(y), t.connected || t.connect();
16690
- let g;
16691
- d?.length && (g = await X$({
16692
- files: d,
16686
+ const {
16687
+ socket: t,
16688
+ agentId: r,
16689
+ uid: i,
16690
+ variables: n,
16691
+ getCurrentConversationId: o,
16692
+ setCurrentConversationId: a,
16693
+ getCurrentExecutionId: s,
16694
+ setCurrentExecutionId: c,
16695
+ subscribeToConversation: u
16696
+ } = e;
16697
+ return async (l) => {
16698
+ const {
16699
+ content: d,
16700
+ conversationId: f,
16701
+ executionId: m,
16702
+ files: g,
16703
+ documents: y,
16704
+ payload: b
16705
+ } = l, v = f ?? m ?? o() ?? Ai(), S = Ai();
16706
+ a(v), u(v), t.connected || t.connect();
16707
+ let w;
16708
+ g?.length && (w = await X$({
16709
+ files: g,
16693
16710
  agentId: r,
16694
- executionId: y
16711
+ sourceId: s() ?? r
16695
16712
  }));
16696
- const S = g?.length ? Y$(g) || [] : [];
16697
- f?.length && f.forEach((k) => S.push(k)), t.emit(
16713
+ const I = w?.length ? Y$(w) || [] : [];
16714
+ y?.length && y.forEach((T) => I.push(T)), t.emit(
16698
16715
  "chat-query",
16699
16716
  {
16700
- conversationId: y,
16717
+ conversationId: v,
16701
16718
  agentId: r,
16702
- message: u,
16703
- messageId: b,
16719
+ message: d,
16720
+ messageId: S,
16704
16721
  ...i && { uid: i },
16705
16722
  ...n && Object.keys(n).length > 0 && { variables: n },
16706
- ...S?.length && { documents: S },
16707
- ...m != null && { payload: m }
16723
+ ...I?.length && { documents: I },
16724
+ ...b != null && { payload: b }
16708
16725
  },
16709
- () => {
16726
+ (T) => {
16727
+ !T?.executionId || o() !== v || c(T.executionId);
16710
16728
  }
16711
16729
  );
16712
16730
  };
@@ -16896,8 +16914,8 @@ function Bi(e, t, r = 0) {
16896
16914
  c[d] = m;
16897
16915
  continue;
16898
16916
  }
16899
- const v = Bi(f, m, r + 1);
16900
- c[d] = v, v === f && u++;
16917
+ const g = Bi(f, m, r + 1);
16918
+ c[d] = g, g === f && u++;
16901
16919
  }
16902
16920
  return o === s && u === o ? e : c;
16903
16921
  }
@@ -17121,26 +17139,26 @@ function mh(e) {
17121
17139
  }, e.onPause?.();
17122
17140
  }).then(() => {
17123
17141
  i = void 0, o() || e.onContinue?.();
17124
- }), v = () => {
17142
+ }), g = () => {
17125
17143
  if (o())
17126
17144
  return;
17127
17145
  let y;
17128
17146
  const b = r === 0 ? e.initialPromise : void 0;
17129
17147
  try {
17130
17148
  y = b ?? e.fn();
17131
- } catch (g) {
17132
- y = Promise.reject(g);
17149
+ } catch (v) {
17150
+ y = Promise.reject(v);
17133
17151
  }
17134
- Promise.resolve(y).then(d).catch((g) => {
17152
+ Promise.resolve(y).then(d).catch((v) => {
17135
17153
  if (o())
17136
17154
  return;
17137
- const S = e.retry ?? (dh.isServer() ? 0 : 3), k = e.retryDelay ?? bw, I = typeof k == "function" ? k(r, g) : k, j = S === !0 || typeof S == "number" && r < S || typeof S == "function" && S(r, g);
17138
- if (t || !j) {
17139
- f(g);
17155
+ const S = e.retry ?? (dh.isServer() ? 0 : 3), w = e.retryDelay ?? bw, I = typeof w == "function" ? w(r, v) : w, T = S === !0 || typeof S == "number" && r < S || typeof S == "function" && S(r, v);
17156
+ if (t || !T) {
17157
+ f(v);
17140
17158
  return;
17141
17159
  }
17142
- r++, e.onFail?.(r, g), dw(I).then(() => u() ? void 0 : m()).then(() => {
17143
- t ? f(g) : v();
17160
+ r++, e.onFail?.(r, v), dw(I).then(() => u() ? void 0 : m()).then(() => {
17161
+ t ? f(v) : g();
17144
17162
  });
17145
17163
  });
17146
17164
  };
@@ -17152,7 +17170,7 @@ function mh(e) {
17152
17170
  cancelRetry: s,
17153
17171
  continueRetry: c,
17154
17172
  canStart: l,
17155
- start: () => (l() ? v() : m().then(v), n)
17173
+ start: () => (l() ? g() : m().then(g), n)
17156
17174
  };
17157
17175
  }
17158
17176
  var ph = class {
@@ -17182,17 +17200,17 @@ function $w(e) {
17182
17200
  let s = { pages: [], pageParams: [] }, c = 0;
17183
17201
  const u = async () => {
17184
17202
  let l = !1;
17185
- const d = (v) => {
17203
+ const d = (g) => {
17186
17204
  hw(
17187
- v,
17205
+ g,
17188
17206
  () => t.signal,
17189
17207
  () => l = !0
17190
17208
  );
17191
- }, f = lh(t.options, t.fetchOptions), m = async (v, y, b) => {
17209
+ }, f = lh(t.options, t.fetchOptions), m = async (g, y, b) => {
17192
17210
  if (l)
17193
17211
  return Promise.reject(t.signal.reason);
17194
- if (y == null && v.pages.length)
17195
- return Promise.resolve(v);
17212
+ if (y == null && g.pages.length)
17213
+ return Promise.resolve(g);
17196
17214
  const S = (() => {
17197
17215
  const C = {
17198
17216
  client: t.client,
@@ -17202,26 +17220,26 @@ function $w(e) {
17202
17220
  meta: t.options.meta
17203
17221
  };
17204
17222
  return d(C), C;
17205
- })(), k = await f(S), { maxPages: I } = t.options, j = b ? pw : mw;
17223
+ })(), w = await f(S), { maxPages: I } = t.options, T = b ? pw : mw;
17206
17224
  return {
17207
- pages: j(v.pages, k, I),
17208
- pageParams: j(v.pageParams, y, I)
17225
+ pages: T(g.pages, w, I),
17226
+ pageParams: T(g.pageParams, y, I)
17209
17227
  };
17210
17228
  };
17211
17229
  if (n && o.length) {
17212
- const v = n === "backward", y = v ? ww : lc, b = {
17230
+ const g = n === "backward", y = g ? ww : lc, b = {
17213
17231
  pages: o,
17214
17232
  pageParams: a
17215
- }, g = y(i, b);
17216
- s = await m(b, g, v);
17233
+ }, v = y(i, b);
17234
+ s = await m(b, v, g);
17217
17235
  } else {
17218
- const v = e ?? o.length;
17236
+ const g = e ?? o.length;
17219
17237
  do {
17220
17238
  const y = c === 0 ? a[0] ?? i.initialPageParam : lc(i, s);
17221
17239
  if (c > 0 && y == null)
17222
17240
  break;
17223
17241
  s = await m(s, y), c++;
17224
- } while (c < v);
17242
+ } while (c < g);
17225
17243
  }
17226
17244
  return s;
17227
17245
  };
@@ -18232,44 +18250,48 @@ const bi = () => {
18232
18250
  const o = n.socket;
18233
18251
  if (!o)
18234
18252
  throw new Error("Failed to initialize socket");
18235
- let a, s;
18236
- const c = X0(), u = (g) => {
18237
- const S = g.data;
18238
- c.notifyListeners(S);
18239
- }, l = (g) => {
18240
- s?.();
18241
- const S = Tw(g);
18242
- o.on(S, u), s = () => {
18243
- o.off(S, u);
18253
+ let a, s, c;
18254
+ const u = X0(), l = (S) => {
18255
+ const w = S.data;
18256
+ u.notifyListeners(w);
18257
+ }, d = (S) => {
18258
+ c?.();
18259
+ const w = Tw(S);
18260
+ o.on(w, l), c = () => {
18261
+ o.off(w, l);
18244
18262
  };
18245
- }, d = ew({
18263
+ }, f = ew({
18246
18264
  socket: o,
18247
18265
  agentId: t.agentId,
18248
18266
  uid: r.uid,
18249
18267
  variables: t.variables,
18250
- getCurrentExecutionId: () => a,
18251
- setCurrentExecutionId: (g) => {
18252
- a = g;
18268
+ getCurrentConversationId: () => a,
18269
+ setCurrentConversationId: (S) => {
18270
+ S !== a && (s = void 0), a = S;
18271
+ },
18272
+ getCurrentExecutionId: () => s,
18273
+ setCurrentExecutionId: (S) => {
18274
+ s = S;
18253
18275
  },
18254
- subscribeToExecution: l
18255
- }), f = (g, S) => g === "agent-interrupt" ? (c.addListener(S), () => {
18256
- c.removeListener(S);
18276
+ subscribeToConversation: d
18277
+ }), m = (S, w) => S === "agent-interrupt" ? (u.addListener(w), () => {
18278
+ u.removeListener(w);
18257
18279
  }) : () => {
18258
- }, m = (g, S) => {
18259
- g === "query" && d(S).catch(() => {
18280
+ }, g = (S, w) => {
18281
+ S === "query" && f(w).catch(() => {
18260
18282
  });
18261
- }, { getConversation: v, listConversations: y } = Dw({
18283
+ }, { getConversation: y, listConversations: b } = Dw({
18262
18284
  agentId: t.agentId,
18263
18285
  instanceUserId: r.uid
18264
18286
  });
18265
18287
  return {
18266
- emit: m,
18267
- on: f,
18288
+ emit: g,
18289
+ on: m,
18268
18290
  cleanup: () => {
18269
- s?.(), c.clearListeners();
18291
+ c?.(), u.clearListeners();
18270
18292
  },
18271
- getConversation: v,
18272
- listConversations: y
18293
+ getConversation: y,
18294
+ listConversations: b
18273
18295
  };
18274
18296
  };
18275
18297
  export {